Hello, dear.
Domain name site.ru must all requests of type
site.ru
site.ru/sdfgdfg
site.ru/1/1/1
etc. to redirect to the Facebook group
vk.com/group.
Made in the config site on Apache
Redirect permanent /
vk.com/group/
but it redirects the request site.ru/1/1/1 on vk.com/group/1/1/1 and Vkontakte, respectively, is responsible 404-oops.
As I understand it, correct to do the 301-th redirect to mod_rewrite, but then how should look like the line RewriteRule?
- Kylie49 commented on October 3rd 19 at 03:56
Restart edit .htaccess does not require - Delpha_Kilback commented on October 3rd 19 at 03:59
RedirectMatch (.*) http://vk.com/group/ - Delpha_Kilback commented on October 3rd 19 at 04:08
RewriteBase /
on
RedirectMatch (.*)
?
This course swears
- Kylie49 commented on October 3rd 19 at 04:11
- Delpha_Kilback commented on October 3rd 19 at 04:14
This line does not add allegedly useful for search engines, the number 301? :) - Kylie49 commented on October 3rd 19 at 04:17
- Delpha_Kilback commented on October 3rd 19 at 04:20
- kaycee.Torphy commented on October 3rd 19 at 04:32