2 possible options:<br><br>1) add a rewrite command to your .htaccess file that redirects from index.php=q to the clean location. Try Googling for "htaccess rewrite"<br>2) user <a href="http://drupal.org/project/globalredirect">http://drupal.org/project/globalredirect</a><br>
<br>Many other options too I'm sure.<br><br>Abraham<br><br><div class="gmail_quote">2009/3/26 Shai Gluskin <span dir="ltr"><<a href="mailto:shai@content2zero.com">shai@content2zero.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<p>Folks,<br></p><p>Client is changing site name (e.g. from <a href="http://oldname.com" target="_blank">http://oldname.com</a> to <a href="http://newname.com" target="_blank">http://newname.com</a>)</p><p>Server location not moving (files and db staying put as is). </p>
<p>Site has been up for a while and SEO concerns are present.</p><p>The site is on a server running LAMP and CPanel.</p><p><b>W</b><b>hat I've done</b>:</p><ol><li>At domain registration site for new name I've set the name servers to the current site.</li>
<li>At CPanel at current site I've added the new domain as a "Parked" domain</li><li>At CPanel I've done a 301 redirect, enabling the wildcard feature.</li></ol><p><b>The only thing that isn't working properly:</b></p>
<ul><li>Wildcard redirects use "dirty" urls. Example: user types in: <a href="http://oldname.com/blog" target="_blank">oldname.com/blog</a> and the redirect goes to <a href="http://newname.com/index.php?q=blog" target="_blank">newname.com/index.php?q=blog</a>.</li>
</ul><p>That page shows up fine, but I'd prefer the url be: <a href="http://newname.com/blog" target="_blank">newname.com/blog</a>. Once onĀ <a href="http://newname.com/index.php?q=blog" target="_blank">newname.com/index.php?q=blog</a> if you click on any internal links, the "dirty" url goes away and everything is perfect.</p>
<p>One response is, "It could be worse!"</p><p>But I really would like to fix this.</p><p><b>T</b><b>wo questions</b>:</p><ol><li>How can I get the redirect to redirect to the clean URL?</li>
<li>Do you see anything wrong in my procedure (maybe there is a problem that I'm simply not noticing yet)</li></ol><p>Thanks much!</p><p>Shai</p>
<br>--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br></blockquote></div><br><br clear="all"><br>-- <br>Abraham Williams | <a href="http://the.hackerconundrum.com">http://the.hackerconundrum.com</a><br>
Web608 | Community Evangelist | <a href="http://web608.org">http://web608.org</a><br>This email is: [ ] blogable [x] ask first [ ] private.<br>Sent from: Madison Wisconsin United States.