Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
relative urls in images and internal links
#8
andyash Wrote:but it doesn't work even for root level pages.

If my page is named 'testing' and an image inserted from 'data/uploads/image1.jpg'

The live page tries to look for the image path as http://localhost/getsimple/testing/data/uploads/image1.jpg'.

Any other suggestions?
I wonder what went wrong after you pushed your webiste to production environment and changed RewriteBase path in htaccess and site's url in GS settings.
Try another approach, follow up migration migration steps described in wiki http://get-simple.info/wiki/installation:migrating
The simplest way in 3 steps:
1. install GS on production server
2. copy /data directory from localhost
3. configure GS the way you did it on localhost
It has to work, unless your production environment doesn't meet GS minimum requirements.

Shawn: I think it has been added when gs 2.04B was going to be published as 3.0
Addons: blue business theme, Online Visitors, Notepad
Reply


Messages In This Thread
relative urls in images and internal links - by yojoe - 2012-04-26, 23:09:10



Users browsing this thread: 4 Guest(s)