Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm hosting my website on Google App Engine and my domain name on GoDaddy.

Google App Engine does not allow you to have naked URLs. So it doesn't allow you to have example.com but does allow you to have www.example.com.

I can easily enable forwarding in GoDaddy to forward exmample.com to www.example.com however it does not keep the relative URL path.

For example I would like for example.com/images/3.jpg to be forwarded to www.example.com/images/3.jpg and not just www.example.com.

share|improve this question

GoDaddy's forwarding feature does preserve paths. I have a .org domain registered with GoDaddy and forwarded to the corresponding .com domain. Paths are preserved.

I use the following forwarding options:

  • Redirect type: 301 permanent
  • Forward settings: forward only
share|improve this answer
I think I recall this being a problem in the past, but working now, providing you don't select "Forward with Masking". – dan Nov 23 '13 at 0:40
I have this setup on my domain and works for my main URL, but a redirect / forward will not keep the relative path of the original link. – JoeFletch Jul 19 '15 at 13:38
@JoeFletch Forwarding for me does keep the URL path. For example I have ostermiller.com set up to forward using GoDaddy to ostermiller.org. ostermiller.com/utils forwards as expected to the corresponding page on the .org domain. – Stephen Ostermiller Jul 20 '15 at 20:51
@StephenOstermiller thanks for your reply! It took a few hours for the change to be implemented. All is working as expected now! – JoeFletch Jul 21 '15 at 18:22

Why don't you just use .htaccess?

Create a text file and copy and paste the following inside:

# Force 'non-www' to 'www'
RewriteEngine On
RewriteCond %{HTTP_HOST} ^YOURDOMAIN.com [NC]
RewriteRule ^(.*)$ http://www.YOURDOMAIN.com/$1 [L,R=301] 
  1. rename it to ".htaccess"
  2. upload it to your public_html folder where index.php is located
share|improve this answer
The hosting is on Google App engine, which doesn't have the concept of a public_html folder. – paulmorriss Dec 16 '11 at 15:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.