Friday, May 18th

Last update05:36:30 AM GMT

Font Size

Screen

Profile

Layout

Menu Style

Cpanel
Welcome, Guest
Username Password: Remember me

.cfm extension not redirecting with 404sef
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: .cfm extension not redirecting with 404sef

.cfm extension not redirecting with 404sef 1 year, 11 months ago #2916

  • aforantman
  • OFFLINE
  • Expert Boarder
  • Posts: 115
  • Karma: 6
Hi all,

I have been using 404sef to help with redirecting old website pages.
all is going well except for .cfm files.

if I create the alias in 404sef it doesnt work.
Instead I get a server 404 error (as opposed to a 404sef error).

I did a bit of researching and one solution was to changed the coding in the .htaccess file to include the .cfm extension type.
as follows:

Code:

RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC]

to :

Code:

RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|\.cfm|/[^.]*)$ [NC]



This hasnt brought many any joy.

does anyone have any ideas?


cheers,

anthony...
Real World
Media Group
For everything in media production
www.realworldmediagroup.com.au

Re:.cfm extension not redirecting with 404sef 1 year, 11 months ago #2919

  • ecweb
  • OFFLINE
  • Senior Boarder
  • Posts: 42
  • Karma: 2
if all else fails you can make redirects yourself directly in the .htaccess file.

example:
RewriteRule ^index\.cfm$ "http\:\/\/www\.mysite\.com\.au\/index\.php" [R=301,L]
 
Check out my Joomla Design Portfolio - www.joomlawebdeveloper.com.au

Re:.cfm extension not redirecting with 404sef 1 year, 11 months ago #2921

  • aforantman
  • OFFLINE
  • Expert Boarder
  • Posts: 115
  • Karma: 6
cheers,

thanks for that!
Real World
Media Group
For everything in media production
www.realworldmediagroup.com.au
  • Page:
  • 1
Time to create page: 0.49 seconds
You are here: Forum