ucarmetin
Member
Posted 2 years ago #
Hello there,
I've got a problem with wordpress installed in my localhost.
I created several pages and posts. They appear on the front page. But when I click any page or post link, I keep receiving 404 error saying that "object not found!". I don't have any plugin or theme installed yet. The permanent link structure is set to "Day and name". I couldn't figure out what the problem is.
Any thoughts on how to resolve this problem?
Thanks.
Does it happen when you have Permalinks set to default?
Do you have a .htaccess file in your WordPress folder?
Is this on Unix/Linux hosting or Windows hosting?
ucarmetin
Member
Posted 2 years ago #
When the permalinks set to default, it's working without any problem. But I want to use SEO friendls Day and name permalink structure.
Yes, I have .htaccess file in my wordpress folder. Do I need to change anything in there?
I'm running wordpress on the localhost now. Besides, if it helps, I'm using windows vista home edition.
thanks.
I've never run a localhost installation but my guess is that Windows Vista is not set up to handle .htaccess files.
The fact the user is using WordPress locally on Windows means he's using a WAMP setup, which includes apache, it's safe to assume this is a "Linux" emulation type of setup..
ucarmetin, check your httpd.conf has the mod_rewrite module loaded...
ucarmetin
Member
Posted 2 years ago #
I checked httpd.conf file and located mod_rewrite line. It was commented by using dash "#". I uncommented this line by removing the dash, and then restarted apached and mysql. However, the problem is still there.
Any more ideas?
ucarmetin
Member
Posted 2 years ago #
Hi there,
I've resolved the problem with the help of article on this page http://www.lancelhoff.com/how-to-make-wordpress-permalinks-work-in-xampp/
those who have the same problem can take a look at this page.
Thanks to everyone for help.
Regards