trailing “/” between page name and variable values in hyperlinks
-
Newbie questions for you. I’ve looked thru the Forum and documentation, but haven’t found a topic that addresses my issue. Being new I may not be looking at/asking the right questions…
I did an install of WP 2.3 on our externally hosted production server. The setup is the default and I have not changed anything from the initial settings: (https://www.exagrid.com/Disk_Backup_Authority)
Everything is great UNTIL you try to click on a link in the blog. It appears that all of the internal links are adding a “/” at the end of the file name (index.php) and before any variable information in the URL. The external links work fine.
For example, there is one blog article post called “Hello World”. The URL is https://www.exagrid.com/Disk_Backup_Authority/index.php/?p=1 which, when clicked, results in the following errors:
Warning: main(./wp-blog-header.php): failed to open stream: No such file or directory in d:\Customers\user1134120\www\Disk_Backup_Authority\index.php on line 4
Fatal error: main(): Failed opening required ‘./wp-blog-header.php’ (include_path=’.;c:\php4\pear’) in d:\Customers\user1134120\www\Disk_Backup_Authority\index.php on line 4
If I remove the “/” at the end of index.php in this URL then the page works correctly. https://www.exagrid.com/Disk_Backup_Authority/index.php?p=1. Alternately, removing ‘index.php/’ entirely also works correctly. https://www.exagrid.com/Disk_Backup_Authority/?p=1
In the WP admin panel, under options, I’ve check to see the WP URL information which is “https://www.exagrid.com/Disk_Backup_Authority” for both WordPress URL and Blog URL.
Under the Permalink Structure, the default setting is selected which is https://www.exagrid.com/Disk_Backup_Authority/index.php/?p=123
Can anyone point me in the right direction for resolving this? It’s not clear to me what would cause this issue and what needs to be done to get it fixed. Any assistance would be greatly appreciated!
Thanks!
PS: I loaded WP on my local machine (running on port 81) and didn’t encounter this issue. In fact the file name “index.php/” doesn’t even appear as part of the internal hyperlink URLs. The link to the “Hello World” blog article is https://localhost:81/Disk_Backup_Authority/?p=1 and works correctly
- The topic ‘trailing “/” between page name and variable values in hyperlinks’ is closed to new replies.