I don’t understand why you need URL with .php at the end? You already have a template and can see it by /guide URL, right? What else you need?
Can you clarify again please I am confused a bit here
No! I cannot see it with /guide URL!!! here the problem. I cant get any link working if the link needs to be shown in localhost.
Now seems I understand
You need to change your permalinks settings
Please read this
http://codex.wordpress.org/Using_Permalinks
mod_write is enabled in my .htacces.
I followed some of the steps there, but still not working. They say if I can’t still get it working, write here…
I inserted this to .httpd.conf:
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
instead of the one I had with none allowoverride.
I also added:
<Directory /var/www/html>
# ... other directives...
AllowOverride All
</Directory>
In wp-includes/vars.php file, I did this:
//$is_apache = (strpos($_SERVER['SERVER_SOFTWARE'], 'Apache') !== false || strpos($_SERVER['SERVER_SOFTWARE'], 'LiteSpeed') !== false);
$is_apache = 1;
(Actually, I have a different code than the one it says Im supposed to have…)
Finally, I added this to the .htaccess file:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
The only change is that now, when i click on guide link, I get localhost/xampp page, my xampp panel.
Any idea?
1) Have you tried restart apache after changes in config file?
2) looks like its XAMMP related issue, maybe something with your virtual hosts setup
here is some results I’ve googled for you
http://sixrevisions.com/tutorials/web-development-tutorials/using-xampp-for-local-wordpress-theme-development/
http://www.wikihow.com/Install-Wordpress-on-XAMPP
Yep, apache was restarted. And about the links u offer, they are just explaining how to install xampp, which I already followed…
What I dont know is if maybe it would be worth to install Xampp again, and try to insert a new WordPress version in it, setting everything again, and then inserting my wp-content folder, to see if this solve the problem… Maybe this could fix it?
Yea probably you should try, and use instruction, maybe you have miss some step. Because right now I am not sure how else I can help, sorry
Finally I was able to solve my problem. Permalinks were the problem, and I had to edit the file httpd.conf from xampp/appache in order to fix it. The line which was causing problems was #221, where I had to write:
<Directory />
AllowOverride All
Require all denied
</Directory>
Then, I restarted xampp and everything was solved. Anyway, thank you all for your help.
Great!
So you see this is not because wordpress, its all because of XAMPP setings.
Glad you have solve this and share solution