× Here you can get community support related to ReDJ.

Desination url format?

  • jgribble
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 11 months ago #5802 by jgribble
Replied by jgribble on topic Desination url format?
At joomlaseo.com, I saw a version of code which is very slightly different.
The difference is the last term in the bottom line.
RewriteEngine On
RewriteCond %{HTTP_HOST} ^site.com [NC]
RewriteRule ^(.*)$ www.site.com/$1 [L,R=301]

Whereas in your version we have this: [R=301,L]

Is the difference material? I know it's possible to break the site if this is done wrong.

But I do want to give it a go.

Thanks again for all the assistance.

Please Log in or Create an account to join the conversation.

More
7 years 11 months ago #5806 by admin
Replied by admin on topic Desination url format?
No difference, are the same two conditions (order doesn't matter). R=301 is the redirection type, L means "last".

httpd.apache.org/docs/2.0/mod/mod_rewrite.html#rewriterule

Kind regards,
Luigi

Please Log in or Create an account to join the conversation.

Time to create page: 0.154 seconds