We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Changed site URL but channel path still shows old URL

How Do I?

Joff's avatar
Joff
28 posts
10 years ago
Joff's avatar Joff

I’ve changed the URL of a site from domain.co.uk to domain.com, updating the site URL in config.php and in the relevant pages within admin.

All is fine across the site apart from where I’m using the channel path variable - this still shows the old URL. So when I output:

{path="products/index"}

I see: http://domain.co.uk/products

Where I expect to see: http://domain.com/products

I’ve cleared caches, synchronised templates and have searched through the database for instances of domain.co.uk, yet I can’t seem to work out where it’s picking up the .co.uk version from.

Can anyone suggest anything I may have overlooked?

       
USC Chan's avatar
USC Chan
81 posts
10 years ago
USC Chan's avatar USC Chan

Go to Admin > Channel Administration > Channels, go to Edit Preferences for the relevant channel, and look at the Channel URL field. That might be where it still needs to be updated.

       
Joff's avatar
Joff
28 posts
10 years ago
Joff's avatar Joff

Hi Paul, thanks but no that’s already been updated. It’s really baffling as there’s no references in the DB - maybe there’s another setting somewhere outside of config.php that I’ve missed?

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.