• Selamat siang, saya mau tanya bagaimana cara mengatasi halaman page.php 404, saya sudah cek mulai dari repair table, cek table, dan cek semua fitur tema,
    hal kedua yang saya lakukan adalah menonaktifkan semua plugin, ganti tema twenty dan hasilnya tetap sama, khusus halaman page tidak tersedia atau tidak ditemukan. dan anehnya hanya satu website itu saja.

    tolong bantu saya para master wp. tanks
    my web putramahesa.com

Melihat 6 balasan - 1 sampai 6 (dari total 6)
  • Moderator Bogy Harseno

    (@bogyharseno-1)

    lha halaman (page) sdh dibuat atau belum ya? jika sdh, saya minta shortlink (page id) dr salah satu halaman yg 404 tsb.

    periksa jg pengaturan permalinks, .htaccess dan page.php

    Pencetus Utas Putra Mahesa

    (@putra-mahesa)

    ini mas untuk .htaccess

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule ^(.+)$ /index.php/$1 [L,QSA]
    </IfModule>
    # END WordPress

    ini untuk page.php

    <?php get_header(); ?>
    
    		<div id="container">
    			<div id="content" role="main">
    
    			<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
    
    				<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    					<?php if ( is_front_page() ) { ?>
    						<h2 class="entry-title"><?php the_title(); ?></h2>
    					<?php } else { ?>
    						<h1 class="entry-title"><?php the_title(); ?></h1>
    					<?php } ?>
    
    					<div class="entry-content">
    						<?php the_content(); ?>
    						<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'putramahesa' ), 'after' => '</div>' ) ); ?>
    						<?php edit_post_link( __( 'Edit', 'putramahesa' ), '<span class="edit-link">', '</span>' ); ?>
    
    						<div class="iklanadsense">
    <script type="text/javascript"><!--
    google_ad_client = "ca-pub-xxxxxxxxxxxx";
    /* pst */
    google_ad_slot = "xxxxxxxxx";
    google_ad_width = 468;
    google_ad_height = 60;
    //-->
    </script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script></div>
    					</div><!-- .entry-content -->
    				</div><!-- #post-## -->
    
    				<?php comments_template( '', true ); ?>
    
    <?php endwhile; // end of the loop. ?>
    
    			</div><!-- #content -->
    		</div><!-- #container -->
    
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    untuk link halaman page.php nya
    http://putramahesa.com/tentang-kami

    pengaturan permalinks /%category%/%postname%.html
    makasih..

    Moderator Bogy Harseno

    (@bogyharseno-1)

    ubah .htaccess utk WP spt ini:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress
    Pencetus Utas Putra Mahesa

    (@putra-mahesa)

    tetep gak bisa mas…ehhe…tapi kalu aq seting /wp-admin/options-reading.php isi postingan page.php bisa muncul di halaman index.php

    kalu dinstal ulang lagi wordpressnya postingan ku ilang gak ya mas,

    Moderator Bogy Harseno

    (@bogyharseno-1)

    sptnya web/hosting sampeyan ada yg missing sesuatu, kontak via link ini sj bila msh belum bener.

    Pencetus Utas Putra Mahesa

    (@putra-mahesa)

    ok ok ya paling mas..mungkin hostingnya yang lagi error , makasih waktu n solusinya. maturnuwun

Melihat 6 balasan - 1 sampai 6 (dari total 6)

Topik ‘Help: Halaman Page saya 404’ tertutup untuk balasan baru.