Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

Error on url aliases!
(1 viewing) (1) Guest
Support forum for users using free edition of JoomSEF 4 (Joomla 1.6/1.7/2.5+ compatible). These forums are mainly for mutual help between users.

Please note that due to our capacity limitations, we do not monitor these forums regularly.
  • Page:
  • 1

TOPIC: Error on url aliases!

Error on url aliases! 11 years, 8 months ago #36158

Hy everybody.
I'm writing here because i can't find any suitable solution on this forum and on google!

Here's my problem:

I upgraded my site from 1.5 to 2.5.8. Everything works fine.
I installed joomsef 4.3.0 and it's ok.

Now i want to catch all urls that google indexed. (www.mysite.com/oldurl) and want to redirect to the new url..
(www.mysite.com/newurl)


I put them in url aliases (i did this on another site.. and it worked!)


but now the browser send me to the new url (in the address bar) but give me a Error 310 (net::ERR_TOO_MANY_REDIRECTS).



I get 310 if :

1. put the old url in "url aliases"
2. put the old url in "manage 301 redirects"

i tried with all components (com_contact, com_tz_portfolio)


Joomla 2.5.8
Joomsef 4.3.0


This is my htaccess :

<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/x-icon A5184000
ExpiresByType application/x-javascript A5184000
ExpiresByType application/javascript A5184000
ExpiresByType text/css A5184000
ExpiresByType text/javascript A5184000
ExpiresByType image/gif A5184000
ExpiresByType image/png A5184000
ExpiresByType image/jpeg A5184000
ExpiresByType application/x-shockwave-flash A5184000
ExpiresByType video/x-flv A5184000
ExpiresByType application/pdf A5184000
</IfModule>
 
RewriteEngine On
RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
RewriteRule .* index.php [F]
 
#RewriteBase /
 
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{REQUEST_URI} !^/index\.php
RewriteCond %{REQUEST_URI} /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php [L]
 
SetOutputFilter DEFLATE
AddOutputFilter DEFLATE text/plain
AddOutputFilter DEFLATE text/html
AddOutputFilter DEFLATE text/xml
AddOutputFilter DEFLATE text/css
AddOutputFilter DEFLATE application/xml
AddOutputFilter DEFLATE application/xhtml+xml
AddOutputFilter DEFLATE application/rss+xml
AddOutputFilter DEFLATE application/javascript
AddOutputFilter DEFLATE application/x-javascript
AddOutputFilter DEFLATE application/x-httpd-php
AddOutputFilter DEFLATE application/x-httpd-fastphp
AddOutputFilter DEFLATE image/svg+xml
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4.0[678] no-gzip
BrowserMatch bMSIE !no-gzip !gzip-only-text/html
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0
# Don't compress images
SetEnvIfNoCase Request_URI \\.(?:gif|jpe?g|png)$ no-gzip dont-vary





Any help will be very very apreciated!

Re: Error on url aliases! 11 years, 8 months ago #36205

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,
The error means that your URL is redirecting back to itself in an infinite loop. Try checking that there's no 301 redirect defined for your new URL and that it's also not set as the alias for itself.
ARTIO Support Team
  • Page:
  • 1
Přihlášení uživatele Prázdný