Dynadot .com transfer sale, only $10.12 with coupon code DYNA12, available while supplies last, ends October 31, 2026.

Search Engine friendly URLs

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
SpaceshipSpaceship
Watch

john888

Established Member
Impact
271
I have Apache WordPress domain name site.

I have created Name Server redirect URL’s for my domain names such as:

https:/mywebsite.com/domain/?=domain-name1.com
https:/mywebsite.com/domain/?=domain-name2.com
etc..

Mywebsite.com is a WordPress site and page “domain” will use the URL parameter ?=domain-name1 and dynamically place “domain-name1 is for sale” on the page.

I would like to have Search Engine friendly URLs such as:

https:/mywebsite.com/domain/domain-name1/

but use one page called “domain” with dynamic scripting that uses the parameter “domain-name1”

I have tried using WordPress Permalink Settings to clean up the page URL, but I believe the Permalink Settings are only for cleaning up the WordPress database generated URLs.

Is there any htaccess mod rewrite code that will do the trick?

Thanks.
 
1
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
1
Close
I have Apache WordPress domain name site.

I have created Name Server redirect URL’s for my domain names such as:

https:/mywebsite.com/domain/?=domain-name1.com
https:/mywebsite.com/domain/?=domain-name2.com
etc..

Mywebsite.com is a WordPress site and page “domain” will use the URL parameter ?=domain-name1 and dynamically place “domain-name1 is for sale” on the page.

I would like to have Search Engine friendly URLs such as:

https:/mywebsite.com/domain/domain-name1/

but use one page called “domain” with dynamic scripting that uses the parameter “domain-name1”

I have tried using WordPress Permalink Settings to clean up the page URL, but I believe the Permalink Settings are only for cleaning up the WordPress database generated URLs.

Is there any htaccess mod rewrite code that will do the trick?

Thanks.
Yes such htaccess directives do exist. Posting it here might compromise the page.

But first correct the error. You have syntax (error) in the URI:
https:/mywebsite.com/domain/?=domain-name1.com

Variable name missing. it should be:
https:/mywebsite.com/domain/?varibalename=domain-name1.com

Hope this helps.
 
Last edited:
1
Close
Thanks. What is best a 301 or 302 redirect in this case? I am still not sure if Chrome is blocking some traffic since "mywebsite.com" has SSH but not the domains being redirected. This may take multiple domain aliases to individual pages to please Google.
 
1
Close
Thanks. What is best a 301 or 302 redirect in this case? I am still not sure if Chrome is blocking some traffic since "mywebsite.com" has SSH but not the domains being redirected. This may take multiple domain aliases to individual pages to please Google.
301 is permanent, 302 is temporary. Your choice.
 
0
Close
Appraise.net

We're social

Escrow.com
Spaceship
CryptoExchange.com
Domain Recover

NamePros updates

Quick replies: search, your most used replies, and more on every post
Quick replies are easier to find and use now. The quick reply menu has a search box. Type a few letters to find the reply you want. A...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back