Hello,
can it be solved to use . in the url rewrite?
if I give a title of more words, the plugin makes a – sign between the words.
Title:New cars on the market
Plugin rewrite this:new-cars-on-the-market.example.com
I would like:new.cars.on.the.market.example.com
Can it be solved somehow?
Thank you!
Need to write the following to wp-config.php above the “Stop editing” line:
/* Multi-subdomain cookies */
define( 'COOKIE_DOMAIN', '.yoursite.com' ); // Dot prefix
define( 'COOKIEPATH', '/' );
define( 'ADMIN_COOKIE_PATH', '/' );
define( 'SITECOOKIEPATH', '/' );
define( 'COOKIEHASH', md5( 'yoursite.com' ) );
May be some of it is redundant but I added them all just in case. People say COOKIEHASH is important in latest versions as well, at the very least. And the first line is what makes your cookie universal for the whole 3rd level on the domain.
]]>wp_safe_redirect function in wp-comment-post.php forces a redirect to admin area (or login page) because it considers subdomains as external urls. Needs to add subdomains to allowed_redirect_hosts via add_filter().
Fixed by adding a code from another plugin (Main categories as subdomains)
public function redirect_after_comment( $wp_host , $lp_host ) {
if ( is_array( $wp_host) ) {
$slug = explode( ".", $lp_host );
$slug = $slug[0];
if ( get_category_by_slug( $slug ) )
$wp_host[] = $lp_host;
}
return $wp_host;
}
to the top and then to the place
foreach ( $subdomain_setting as $v ) {
if ( $v == 'category'):
another filter
add_filter( 'allowed_redirect_hosts', array( &$this, 'redirect_after_comment') , 10, 2 );
but if only works for categories. Needs the same for pages and authors. I’m a very lousy coder, if it didn’t work by simply copy, I’d be lost!
Thanks for making a great plugins user friendly and easy to use .bro i m using ssl for my website but your plugins in not working please help me https://prnt.sc/es6ojm
I was looking for this ssl feature and couldn’t find it. Do you have any solution please tell me ?
https://www.email.ypaymore.in
Don’t hesitate to let us know if you have any questions or comments.
Thanks & Regards
Naushad
New Delhi India
Hi, my web sites haberleri.me.
Post page in now working to ajax. Please help me.
What do I have to do to fix the problem?
This works however the main domain will display .domain name will not resolve dns error
]]>Hello, why do we have to use
/%category%/%postname%.html
My existing permalink structure is /%category%/%postname%/ (I believe this is more popular) and I dont want to change permalink for thousands of posts. Is there a way to get rid of “.html”? I removed this condition from core files but it broke the pagination.
The second issue:
https://codex.www.ads-software.com/Plugin_API/Filter_Reference/allowed_redirect_hosts
This may cause various problems for subdomains, e.g. when someone makes a comment he/she will be redirected to wp-login.
]]>Hello, installing this plugin and making wildcard as in instructions, it doesn’t work. Actually the aubdomain is made by plugin but unfortunately when i open cat.domain.com i come accros “index of” page with a single empty folder named cgi-bin or stuff like this.
]]>Jam Vi?t ?i, mình có comment ch?c n?ng b? sung này blog c?a b?n t?i: https://www.jamviet.com/2016/03/plugin-wp-super-subdomains-create-subdomains-second.html#comment-70573
? ?ay mình nói s? v? ch?c n?ng ?ó là: chuy?n “danh m?c cu?i cùng c?a s?n ph?m” thành subdomain nh?: https://shop.com/thoitrang/quanaonam/quan-jean-123.html thành https://quanaonam.shop.com/quan-jean-123.html
Hy v?ng ???c b?n h? tr?.
R?t c?m ?n b?n.
]]>after enabling th page as subdomain option i get this message on the homepage.
This site can’t be reached
.revitway.com’s server DNS address could not be found.
ERR_NAME_NOT_RESOLVED
i also tried to add the cname method for auto subdomain.
i selected
Host Record: *.revitway.com
TTL: 14400
Type: CNAME
Points To: revitway.com
is that right?
]]>