Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 332661
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T09:53:15+00:00 2026-05-12T09:53:15+00:00

I have installed drupal on my localmachine(ubuntu, Xampp), at localhost. Path and Pathauto modules

  • 0
  • I have installed drupal on my localmachine(ubuntu, Xampp), at localhost.
  • Path and Pathauto modules are active (a module to produce friendly URLs).

Migrating/Pushing my local install to the http://www.mysite.com

  • Exported SQL from phpMyadmin(localhost).
  • Made a new DB at live site (I think a different name from the localhost-DB does not create any problem).
  • Imported SQL into phpMyadmin, (mysite).
  • Changed the username-password-DBname in the sites/default/settings.php in drupal folder.
  • Now, uploaded the drupal folder and all its content into the /www of the “mysite.com”.

Visited the URL http://www.mysite.com, site looks same as on my localhost, good.

But —

  1. I made a tryPage on my
    localhost/drupal, for which
    pathauto(cleanURL) recommended the
    URL “content/trypage” which i
    explicitly changed to “trypage”, so
    that absolute link to the page is
    “localhost/drupal/trypage” and not
    “localhost/drupal/content/trypage”.
    Now When i click the trypage link on the mysite,
    it open’s it in-reference to my
    localhost, my local-pages are
    opened. That is, when I click
    newpage on the mysite.com, the URL
    requested is
    “localhost/drupal/newpage” and not
    “www.mysite.com/newpage”.

    Do you think it is coz of the SEO
    friendly URL generation issue, the
    Pathauto module.

    Anyways how do i solve this
    If I make my “localhost/drupal” to open from same URL (mysite.com), i dont know how
    to do that exactly, i think by configuring
    vhosts. But if i do that, then the URL
    http://www.mysite.com where will it take
    me, local or online.

  2. Now If i add new modules, new content, new pages, and new books on my localhost site, and wish to update mysite.com, do i have to redo SQL export/import everytime, and use a software like rsync/sitecopy(), to upload the folders on the live site. How do i solve this.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T09:53:15+00:00Added an answer on May 12, 2026 at 9:53 am

    This is an old question, but here are some thoughts.

    1. Links generated by Drupal (e.g. menu links, links within the admin area, breadcrumbs, etc.) should always use the domain of the currently requested site. URLs within Drupal are handled by the "router", which stores all paths within the database in a relative format.

      That said, unless you’re specifying the site URL in settings.php (the $base_url variable) or are linking to pages using fully qualified URLs, this shouldn’t be a problem. Linking to different nodes from other nodes can be handled with a variety of modules. Pathologic is a good choice, or Path Filter.

    2. Moving Drupal sites from development to staging to production is still a common problem for which there is no definitive solution. This question was asked previously here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 209k
  • Answers 209k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Look at the HandleErrorAttribute. Subclass from it or add your… May 12, 2026 at 9:45 pm
  • Editorial Team
    Editorial Team added an answer It used to be a pretty standard practice when writing… May 12, 2026 at 9:45 pm
  • Editorial Team
    Editorial Team added an answer I think it might be easier to just use RichTextBoxes… May 12, 2026 at 9:45 pm

Related Questions

(Actual site names have been changed) I installed drupal on elephantboarding.com, and it is
There has got to be an answer to this, but I am a total
I am attempting to migrate hosts and am having issues migrating from one Drupal
I have a Drupal site with user logins. Embedded within this site is a

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.