hi all,
I tested my first drupal site (www.neoleader.org) in a subfolder www.neoleader.org/new so that I could take my time learning about it. When it came time to go live, I just remapped the domain name so that www.neoleader.org no mapped to the /new folder, so that I didn't have to move any of the content.

However, now, even though I changed the path in the sites/default/settings.php file, when doing certain things in drupal such as searching, voting in a poll, or posting a comment (after successfully previewing the comment), drupal tries to send me to the old "/new" folder, resulting in a "Page Not Found" error.

For example, from the home page (www.neoleader.org), if i try to search for "leader", it posts to the url: "http://www.neoleader.org/new/search/node/leader", whereas it should be posting to "http://www.neoleader.org/search/node/leader" (which, incidentally, works fine if you just edit the url).

Any ideas?! this is really frustrating for a novice Drupal user who started learning it to save time....there have been plenty of great things that i have/am enjoying using, but this is proving a tricky one to figure out.

Cheers,
Dan

Comments

josesanmartin’s picture

(what a odd site you've got...)

I've got this trouble once. It's quite annoying, indeed, but nothing to be worry about.

Normally, this is caused by the Rewrite command in the .htaccess file. You must set this stuff in order to have Clean URLs working.

It's very easy to solve. Open the file http://www.neoleader.org/.htaccess and where it's written "RewriteBase /new", replace with "RewriteBase /"

Well, that should work. If it's not your case, please just say.

José San Martin
http://www.chuva-inc.com/

thehardings’s picture

hey jose!
thanks for your help! I suppose it might look like a weird site....its for my friend.

I just went to line #156 of includes/bootstrap.inc and replace all instances of "/new" with "/"

thanks for your help
dan