0
Welcome Guest! Login
0 items Join Now

Internal links changing from local to online

  • Internal links changing from local to online

    Posted 15 years 2 months ago
    • Hi, do others deal with this issue?:

      I often create links within articles and modules as I develop sites locally in MAMP. Every project I do, I then upload the site to my webhost's servers, and I then go through the site with a fine toothed brush and change all the links from

      <a href="index.php/ivan.html"><img src="images/stories/team/ivan.png" /></a>

      to

      <a href="ivan.html"><img src="images/stories/team/ivan.png" /></a>

      for example. Basically, I take out "index.php/" from each of my links. For some reason locally that is required, and then online, I doesn't work with that in the link. I am with hostgator. Do others deal with this, and is there a solution?

      Thanks!
    • JEM's Avatar
    • JEM
    • Preeminent Rocketeer
    • Posts: 17917
    • Thanks: 4

    Re: Internal links changing from local to online

    Posted 15 years 2 months ago
    • Develop locally and then use JoomlaPack to move your site to the server.

      It'll take care of all the linking automatically.
    • Thanks,
      jim
  • Re: Internal links changing from local to online

    Posted 15 years 2 months ago
    • Thanks, I suspect this JoomlaPack is an important extension, and I successfully uploaded my site using it. Unfortunately though, I am unable to get SEF URL's working properly. I also changed the .htaccess file:

      # Rewritebase / changed to Rewritebase /G32

      I am at my wits end, and feeling concerned. The site is done, I just can't get it running online. Any suggestions on what my next step should be? thanks alot
    • JEM's Avatar
    • JEM
    • Preeminent Rocketeer
    • Posts: 17917
    • Thanks: 4

    Re: Internal links changing from local to online

    Posted 15 years 2 months ago
    • Is the site in the root, or the G32 folder?
    • Thanks,
      jim
  • Re: Internal links changing from local to online

    Posted 15 years 2 months ago
    • Its in the G32 folder. Now I am getting a 500 error locally, and my remote files have disappeared?
    • JEM's Avatar
    • JEM
    • Preeminent Rocketeer
    • Posts: 17917
    • Thanks: 4

    Re: Internal links changing from local to online

    Posted 15 years 2 months ago
    • Basic Core SEF:

      If joomla is in the root; htdocs, or public_html...

      In Global Configurations, Search Engine Friendly URLs Yes, Use Apache mod_rewrite Yes, Add suffix to URLs No.

      Change htaccess.txt to .htaccess.

      If it’s in a folder, you need to change the # RewriteBase / to reflect the path of your site.

      Change:

      # RewriteBase /

      to:

      RewriteBase /(the name of the folder joomla is in)

      If that doesn't work, search or post here:

      forum.joomla.org/viewforum.php?f=544

      If you are using a 3rd part component, contact the developer.

      Does either work with SEF turned off?
    • Thanks,
      jim
  • Re: Internal links changing from local to online

    Posted 15 years 2 months ago
    • Is it possible for JoomlaPack to upset MAMP, as I am getting a 500 Internal Server Error now when I attempt to view http://localhost:8888/. Also, I can't start up my MySQL server now. Any suggestions? thanks
    • JEM's Avatar
    • JEM
    • Preeminent Rocketeer
    • Posts: 17917
    • Thanks: 4

    Re: Internal links changing from local to online

    Posted 15 years 2 months ago
    • Everet Dale wrote:
      Is it possible for JoomlaPack to upset MAMP, as I am getting a 500 Internal Server Error now when I attempt to view http://localhost:8888/. Also, I can't start up my MySQL server now. Any suggestions? thanks


      No, Joomla!Pack will have no effect on your MAMP.
    • Thanks,
      jim

Time to create page: 0.083 seconds