Streaming live at 10am (PST)

Connecting to a www custom domain and help with 301 redirects


#1

I finished the design of a new site and asked the domain company to follow your instructions. The site is live here: http://www.yoramhen.co.il/
But when I searched for it on Google it turns to a 404 page: http://yoramhen.co.il/main_en
I also get the same here: yoramhen.co.il/
What did I miss?

Please reply ASAP, since the site is already live.
Thank you, Asaf


#2

Hi @LupoAsaf it looks like you're missing the root domain from your Custom Domain settings.

Be sure to include this as a custom domain as well: yoramhen.co.il

Then re-publish your site again to your custom domain and the issue should be resolved as you already have the 301 re-direct setup.

You can also set a default domain for your site: https://help.webflow.com/article/how-to-set-your-sites-default-domain


#3

Thank you for the quick response. This was very important for me.
One more thing, @Waldo. I have replaced an old site with my new Webflow design. Google search results still shows old subfolder that no longer exists, and they are in Hebrew. e.g. http://yoramhen.co.il/%D7%A0%D7%97%D7%9C%D7%96%D7%A8%D7%93
Is there any way to redirect these old links? Webflow doesn't let me use %.


#4

Hi @LupoAsaf I'm happy to help! :slight_smile:

Actually that error in your screenshot looks to be appearing due to the full old path being inserted (including the custom domain), when it should just start out with a / such as if you had to re-direct a link like your about page.

Old Path value: /about
Redirect to Page value: /about-us

I haven't created a redirect for a Hebrew pathname so I may need to reach out and see if anything special needs to be done there or if you can just re-direct your Old path name of:
/%D7%A0%D7%97%D7%9C%D7%96%D7%A8%D7%931 to a different page.


#5

Hi @LupoAsaf, for special characters like %, you will need to escape those, with a %.

So, given the original url path:

/%D7%A0%D7%97%D7%9C%D7%96%D7%A8%D7%931

This would be escaped as:

/%%D7%%A0%%D7%%97%%D7%%9C%%D7%%96%%D7%%A8%%D7%%931

and result in:

You can of course redirect to any page you want.

Now, lets say you want to redirect All pages that start with %. You can do this easily in Webflow, by adding the OLD PATH redirect:

/%%(.*)

pointed at your new path page.

Try that, I hope this helps!


#6

Excellent! Thanks a lot, Lupo