| Site Maintenance Program updates, securing your website, creating backups. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread |
|
|
#1 (permalink) |
|
Registered User
Seasoned Poster
Joined in Jun 2004
Lives in Candy Land
86 posts
Gave thanks: 0
Thanked 0 times
|
Wordpress Link Problem
Hello again... Sorry to bother, but I cant seem to get past the fact that my wordpress isn't working again. Its on my original domain, and when I try to link it through the pages the pages doesn't come up like so here
I also get my 404 page when I try access other post's url through links. It also occurs with my categories too... Any ideas? Or is my wordpress going wack. Lastly, when I tried to edit the page, the bottom doesn't show (with the post preview). I get my 404 page. >> Example |
|
|
|
|
|
#3 (permalink) |
|
Race Surpass
Super #1
Joined in Jul 2006
Lives in Oklahoma City, OK
Hosted on sh102
1,222 posts
Gave thanks: 18
Thanked 86 times
|
If you can get into the Admin section, I would try going into options and changing the Permalinks back to the default option just to make sure the articles will appear correctly with that setting. If that works then it sounds like something's not set correctly with your .htaccess file.
(looks for another thread that has some more info)
__________________
|
|
|
|
|
|
#6 (permalink) |
|
L'Awesome Advocate
Super #1
Joined in May 2004
Lives in .au
Hosted on Mango
2,423 posts
Gave thanks: 1
Thanked 5 times
|
I believe it's because WordPress isn't able to update your .htaccess file, what you should do is change your permalink options & it should print out what you should put in your .htaccess file. Copy this into your .htaccess & you should be fine.
__________________
When I get sad, I stop being sad, and be AWESOME instead. True story.
|
|
|
|
|
|
#7 (permalink) |
|
muffins
Excelling Contributor
Joined in Mar 2006
Lives in Chicago, IL
Hosted on NONE
644 posts
Gave thanks: 26
Thanked 34 times
|
You need to edit your .htaccess file so that it has the proper mod_rewrite functions that wordpress relies on for the permalink structure.
Add this to your .htaccess: Code:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
|
|
|
|
|
|
#8 (permalink) |
|
Race Surpass
Super #1
Joined in Jul 2006
Lives in Oklahoma City, OK
Hosted on sh102
1,222 posts
Gave thanks: 18
Thanked 86 times
|
Yeah, what happens is that Wordpress doesn't think it's running on Apache and so it doesn't change the .htaccess file. What you have to do to fool it is edit the /wp-includes/vars.php file and look for the server detection section and change it to the following:
PHP Code:
After making that change, then Wordpress will actually change the .htaccess file; otherwise, you will need to manually change the .htaccess file yourself like above.
__________________
|
|
|
|