12-31-2017, 11:07 PM | #1 |
Registered User
Join Date: Jan 2017
Posts: 261
|
How to learn redirection url in htaccess?
Please share your knowledge related to SEO.
__________________
We are one of the leading To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. and best To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. . We are the professional To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. & ensure customer satisfaction. |
01-01-2018, 12:26 AM | #2 |
Registered User
Join Date: Jan 2017
Location: United Kindom
Posts: 181
|
w3school is the best source to learn anything
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
01-08-2018, 04:40 AM | #3 |
Registered User
Join Date: Sep 2017
Posts: 113
|
Utilizing the power of the apache module mod_rewrite, however, the developers realized they could match specific patterns for entire folders and redirect them to their new URLs
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
01-08-2018, 10:16 AM | #4 |
Registered User
Join Date: Nov 2017
Posts: 253
|
RewriteCond %{REQUEST_URI} This identifies the URL request submitted in the browser. The regular expression identifies the unique portion of the URL request with the expression ^/querypage\.php$. The ^ (carat) indicates the start and the $ indicates the end of the portion of the URL being identified. The "" is used in front of any periods within the URL. Note that this condition is case sensitive. To make it case insensitive you would add the flag [NC] at the end of the statement.
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. / To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. / To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. / To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. / To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
01-08-2018, 11:18 AM | #5 |
Registered User
Join Date: Dec 2017
Posts: 235
|
By default, Redirect sort of maps the path node to a new path node, so anything after the first path gets appended to the target URL.
Try: RedirectMatch 301 ^/abc/cba/ http://www.aaa.com/? Or if you'd rather use mod_rewrite instead of mod_alias: RewriteEngine On RewriteRule ^/?abc/cba/ http://www.aaa.com/? [R=301,L]
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
What are the best sites to learn design ? | ORLOVA | Programming General | 2 | 04-16-2019 05:41 AM |
which programming languages is easy to learn | chelsea77 | Programming General | 35 | 02-13-2015 04:58 AM |
What is your idea about URL redirection? | maxxbaer21 | Search Engine Optimization | 9 | 11-17-2014 05:01 AM |
The best source of learn PHP easily at home. | chikkiarora | Programming General | 11 | 02-10-2013 02:18 AM |
301 Redirection | davikerkrish | Search Engine Optimization | 5 | 12-05-2012 06:26 AM |