Documentation

Find the Redirect Rules page under: Dashboard > SEO Tools or Dashboard > System & Settings > SEO & Statistics > SEO Redirects

For fast 301 redirects, use the Quick Add 301 on at the top of the page.

Fill in the From URL with a relative URL like /about-us. (You don't need to include the first /, we add it for you if you forget) Use the Destination drop down to select if the URL will redirect to a Concrete5 page, File in the File Manager, or an external URL where you type in the full http[s] address. Press + Quick Add when complete. Watch the list below populate via Ajax. No page reloads needed. Use this feature to add many 301s quickly. To create other types of redirects click the blue + Add SEO Redirect button on the top right.

Lets start with a Normal Redirect Fill in the From URL with a relative URL like /about-us. (You don't need to include the first /, we add it for you if you forget) Select a HTTP Response Code. We offer: 301 - Moved Permanently 302 - Found (seems to be recognized as a temporary redirect) 307 - Temporary Redirect 410 - Gone (Content Deleted) - NOTE: there is no Destination for this response 451 - Unavailable For Legal Reasons - NOTE: there is no Destination for this response More on these here: https://en.wikipedia.org/wiki/List_of_HTTP_status_codes?hl=en&rd=1 Use the Destination drop down to select if the URL will redirect to a Concrete5 page, File in the File Manager, or an external URL where you type in the full http[s] address. Now lets create a Wildcard redirect. Fill in the From URL with a URL like this: /old-dir/* Select a Response Code Then fill in your destination. All links under /old-dir/ will now be redirected to your destination URL. Regex Redirect (Regex redirects are intended for users experienced users / developers) Regex redirects perform a regular expression search and replace. We use preg_replace for this: http://php.net/manual/en/function.preg-replace.php You can create and text expressions here: http://www.phpliveregex.com/p/gT0 (make sure to click on preg_replace) In the From URL, place your pattern search. In this example we'll use oldblog/post([0-9]+). We will add slashes "/" to each end of your pattern if you don't. This example will look for oldblog/post and a number like oldblog/post1. Select a Response Code In the To URL field, type in your Replacement. In this example, it is newblog/post\1. Now a url like oldblog/post1 will redirect to newblog/post1 effectively changing an entire directory for you with one redirect. Redirect Rules Page:

You have the ability to sort your rules by clicking the up and down arrows, or drag and drop with the white two-way arrow button. Rule priority runs from top to bottom, rules on top run first. If a rule on top triggers and subsequent rules that could trigger off the same URL will be skipped.

You also have the ability to deactivate/activate rules and delete individually or use the check boxes with the Bulk Action drop down to do deactivate/delete multiple rules at once.

You can revist/edit your rule by clicking the Edit button, and you can also visit any non wild card or non regex rule by clicking the link under From URL.

Urls Changes Page:

On this page you can see pages that have moved within your site. It's likely your old URL was indexed and used someplace. It would be good to create a redirect to the new location or a replacement page. Click the + Create Rule to open our Add Redirect page with the From URL prepopulated with the page's old URL.

Urls Not Found Page:

Here we track URLs that have been attempted on your website that end with 404 - Page not found. We also track the last time and how many times a 404 page for a particular URL has been requested.

Maybe you just moved your website and there are a few redirects you missed, this will likely pick those up when attempts to visit them are made.

When possible, the Referrer URL will populate if there is a link that brought someone to a 404 page. This will allow you to track down external websites that have old links.

Click the + Create Rule to open our Add Redirect modal with the From URL prepopulated with the page's old URL.

Redirect Settings Page:

Process Redirect Rules: Turn this off to turn off all redirecting functionality this Add-on provides. Think of it as an emergency stop. Process All Incoming Requests: If you enable this, only URLs that will present a 404 will be considered for redirection, otherwise, you could redirect away from real/live URLs (this may be desired). Redirect the Super Admin: Turn this off if you don't want redirect rules to effect you like everyone else. This might be a good idea if you are writing regex rules and you don't have a lot of experience with regular expressions. Log URLs Not Found: This turns on/off the logging of URLs Not Found. URLs Not Found Log Limit: This is meant prevent a malicious robot from bloating your site's database full of nonsense. When this number is exceeded, an old record is automatically deleted to allow insertion of new record. The default is 1000 records. If you have more than 1000 potential URLs, increase this number as you see fit, but be careful not to go too far above what you think is needed. Subfolder Installation Directory: If your Concrete5 installation is within a subdirectory like this contact page example: http://example.com/subfolder/contact then subfolder should be written in here. This will prefix all of your redirects with the subfolder in mind so you don't need to write in the subfolder on each rule.
Ignore list for URLs Not Found Log: Add URLs to this list to not log defined URLs in the URLs Not Found log.

Import and Export Page:

Import: Import a CSV of redirects. You must use our import format. Refer to the Import Sample File provided for the correct format. Priorty is given to Page and File IDs if defined over the TO_URL column. NOTE: Do not Import a backup file. Backup: Generate a backup of your redirects. Useful for importing in to a new version of your site. Restore: Restore a backup of your redirects. You must only use a backup file and not use this as an import.

Special Settings Note: You can change settings via FTP if you edit the file afixia_seo_redirects.php under application/config/generated_overrides/. This is useful in case you make a bad rule that locks you out of the site.