Url redirect

What is the simplest way to create a URL Redirect with blocs? Do I need to do it within the directory, or is there a way to do it with the page.

Open page settings and add this to the head additional code section.


1 Like

Just about to use this… but tried out this for a timed redirect… same thing, in the header…

<meta http-equiv="refresh" content="3;url=http://www.google.com/" />

content= is the time setting in seconds and your URL in the google bit…

hope this helps, im not great at code so i use this site frequently for hot tips…

I realize it’s a code thang but I must say this. If you can upload your blocs files to server using FTP then you can get to know the SEO friendly best practice way.

The .htaccess file.

If you’re on apache server, which many/most shared hosting accounts are you might want to look into .htaccess redirects. They are not difficult to implement. You don’t have to understand them 100% for them to work.

Read more on 301 redirects, SEO etc. here.

The bottom line… if you are on apache you can make a simple text file and call it .htaccess copy and paste a line of code, then place it at the root of your site just as you do with blocs exported html.

Here’s an example. you can stack them and redirect multiple pages, or even entire sites. (the last example.)

RewriteEngine on
Redirect 301 /about.html http://www.anysite.com/about.html
Redirect 301 /second_page.html http://www.anysite.com/folder/
Redirect 301 / http://newsite.com/

There are .htaccess generators too. Be sure to do a search for those.

Note: The filename does indeed start with a dot .htaccess
.htaccess files are hidden so understand how to deal with hidden files on your computer and in your FTP software. again, not hard.