Post links point to double URL
All my posts link to a double url, like this; http://newspiration.com/news/http:/n...ss/vip/archive and that, ofcouse, leads to nowhere.
How do these double URL's get there in the first place and how can I correct this? With regards, Sakshin. |
what happens if you use the default theme
|
No changes when switching to default theme; Permalink: http://newspiration.com/news/http:/n...at/vip/archive
So, I must have doen something wrong here, but what? |
Check your settings at Site Admin -> General -> WordPress address (URL) / Blog address (URL)
and Site Admin -> Permalinks, and the .htaccess code at the bottom of that page. Should be something like <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> Also see if your actual .htaccess file at yourdomain.com/.htaccess is the same |
Well, everything seems to be alright now. My links are working.
Even the .htaccess contains the info that it should have. But I cannot find an .htaccess file within admin panel/settings. Are you sure there is an option to reach this from within wp-admin? Thanx a lot so far. |
My bad, the .htaccess code will only be displayed at the bottom of Site Admin -> Settings -> Permalinks if WP was NOT able to automatically create the file.
|
All times are GMT -6. The time now is 04:23 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.