Reputation: 372
I am currently doing web development on my macbook air. I am running the newest version of Firefox and for some reason I am having an issue with viewing it in Firefox with my mac-air. In Firefox the initial index.php URl loads fine without the proceeding /
but any other pages automatically add a /
to the end of the URL and I am unsure why. This causes problems because the pages CSS file then fails to load. I can manually remove the /
but when I run the URL it is added back immediately.
I am unsure of how to correct this issue. If a mod believes this is an osx, you can you move the post. I was going to post to Mac page but I'm assuming this is an issue with the browser or a known issue. Be advised, I am just running these pages in a directory on my domain that has a wordpress site on it. The directory is separate from the wordpress files but still on the same godaddy server. The wordpress site is on the actual domain mydomain.com
Upvotes: 0
Views: 414
Reputation: 2045
Well, some browsers think if there is no extension at the end of the URI, so it is a directory, so it appends '/' at the end (which is correct). To avoid it, you can force removal in htacces (if you are using Apache).
Upvotes: 0
Reputation: 6968
Is this directory under the Wordpress root. If yes i'd look at your .htaccess it is probably doing something funky with the way routing/clean-urls is setup.
Upvotes: 1