Double slash in site urls | Wordpress Support | Forum Archive

The free forums are no longer in use. It remains available as read-only archive.

Avatar
Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
The forums are currently locked and only available for read only access
sp_Feed Topic RSSsp_TopicIcon
Double slash in site urls
November 23, 2010
11:13 pm
Avatar
Vala
Member
Members
Forum Posts: 7
Member Since:
November 22, 2010
sp_UserOfflineSmall Offline

I'm getting double slashes on my post and admin pages, but not on the main blog urls in the menu:

 

http://mysite.com/wo...../index.php

http://mysite.com/wo.....d/new-post

 

Where do I edit this out?

November 24, 2010
8:46 am
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Check your wp-config.php file, you will notice there 2 main urls which you need to remove the end slash from them

 

As a note, when restoring, you can so this automatically by removing the end slash from your Install url option

 

Ovidiu

November 24, 2010
11:56 pm
Avatar
Vala
Member
Members
Forum Posts: 7
Member Since:
November 22, 2010
sp_UserOfflineSmall Offline

Worked like a charm.  Thanks!  Smile

 

And for anyone who has a similar problem in the future.  Your wp password isn't going to work when you change the url to omit the double slash.  You aren't locked out, just request a new password. 

 

Well, my site is moved and restored.  For you guys who are having problems, most of it is probably because XCloner is nit-picky.  If you're moving to a new host or server, or simply restoring, try entering the details (especially the database) exactly as they are in your wp-config.php.  I had several problems but they were all user error.  Good luck!

 

And thank you for the use of your plugin, Xcloner!

January 6, 2011
7:17 pm
Avatar
Paul
New Member
Members
Forum Posts: 2
Member Since:
January 6, 2011
sp_UserOfflineSmall Offline

Ovidiu,

 

Is the double slashes a 'feature' (read bug)? Does the latest version remove the feature (bug) or do I need to do the same mods when I move my blog (only used XCloner to backup so far)?

January 7, 2011
10:47 am
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

The double slash is not a bug, when restoring, you have the option to adjust your Install url: restore option to the desired url, by default XCloner was adding an extra slash there, causing Wordpress to add another one when displaying the site. Anyway, we have fixed that default value to be without a slash in the latest version.

 

Ovidiu

Forum Timezone: America/Chicago
Most Users Ever Online: 867
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
mlguru: 30
Django29: 29
Andy: 21
D: 21
Marcus: 20
Jamie F: 19
Member Stats:
Guest Posters: 738
Members: 10030
Moderators: 2
Admins: 3
Forum Stats:
Groups: 3
Forums: 7
Topics: 2397
Posts: 8236
Newest Members:
Omar Vera
Moderators: TriP: 0, Steve Burge: 0
Administrators: Ovidiu Liuta: 2484, Victor Drover: 1, Valentin Barbu: 0