| User | Post |
|
7:13 am April 11, 2011
| nat101962
| | |
| Member | posts 5 | |
|
|
Hello! 
After I restore my backup, my homepage comes up fine. When I try to go to a previous post I get a 404 Error where the page is not found. Do you have any idea what I'm doing wrong.
Thanks so much for your help!
|
|
|
|
|
10:28 am April 11, 2011
| XCloner! Support
| | |
| Admin
| posts 1911 | 
|
|
|
Most probably the permalinks urls do not work for some reason, try and check if:
1. .htaccess file exists and has the correct code inside for Permalinks
2. mod_rewrite is enabled and working properly for your account
Ovidiu
|
|
|
|
|
1:07 pm April 11, 2011
| nat101962
| | |
| Member | posts 5 | |
|
|
You are the man!!!!!!
Thank you so much!
|
|
|
|
|
2:05 pm April 19, 2011
| Kenneth
| | |
| Member | posts 6 | |
|
|
I have the same problem on a WAMP server on my computer.
What is the .htaccess file supposed to look like? Mine is as below.
———————————————-
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
<IfModule mod_security.c>
SecFilterEngine Off
</IfModule>
# END WordPress
————————————-
|
|
|
5:32 pm April 19, 2011
| XCloner! Support
| | |
| Admin
| posts 1911 | 
|
|
|
Hi Kenneth, in what directory did you install your wordpress site? If it's a subdirectory, you might need to adjust these lines so the path points to the new subdirectory:
RewriteBase /subdir/
RewriteRule . /subdir/index.php [L]
Ovidiu
|
|
|
|
|
7:07 am April 20, 2011
| Kenneth
| | |
| Member | posts 6 | |
|
|
Hi, thanks for your assistance.
I have put the WordPress in the www directory of wamp (C:\wamp\www\sitename)
I have tried both
RewriteBase /wamp/www/sitename
RewriteRule . /wamp/www/sitename/index.php [L]
and
RewriteBase /wamp/www/
RewriteRule . /wamp/www/index.php [L]
as well as
RewriteBase /localhost/
RewriteRule . /localhost/index.php [L]
localhost/sitename/ works but localhost/sitename/news does not work
Not Found
The requested URL /sitename/news was not found on this server.
The backend is working fine.
localhost/sitename/wp-admin/profile.php
and I can edit the pages I have created previously.
You or any one else got any idea?
/Kenneth
|
|
|
7:23 am April 20, 2011
| XCloner! Support
| | |
| Admin
| posts 1911 | 
|
|
|
OK, try this then:
#RewriteBase /
RewriteRule . index.php [L]
this will remove the RewriteBase and also adjust the index.php to a relative current directory path!
Ovidiu
|
|
|
|
|
7:48 am April 20, 2011
| Kenneth
| | |
| Member | posts 6 | |
|
|
Thanks again for your help.
Unfortunately that did not wotk either.
The backend still works though.
I guess the problem is elsewhere?
|
|
|
8:24 am April 20, 2011
| XCloner! Support
| | |
| Admin
| posts 1911 | 
|
|
|
Try and disable then permalinks while the site is on localhost, that should fix the internal urls, you can simply enable them back when moving the site back to the new hosting!
Ovidiu
|
|
|
|
|
1:42 pm April 20, 2011
| Kenneth
| | |
| Member | posts 6 | |
|
|
Hmm, mod_rewrite was not enbled by default.
I had to modify httpd.conf in C:wampbinapacheApache2.2.17conf
I did uncomment the line
#LoadModule rewrite_module modules/mod_rewrite.so
and together with
#RewriteBase /
RewriteRule . index.php [L]
it works.
Thanks a lot for your support.
|
|