posted this on January 31, 2013 11:55 AM
To exclude or include multiple pages use the pattern below.
To exclude multiple urls we can use the pipe |
So to exclude the urls about we can use this pattern:
So any urls with the words about or contact or login will now be excluded.
Also see: Only show the Coming Soon page on the your home page
This is great info, was looking for syntax. So this includes pages like /contact-me or /login-thank-you or /about-the-site ??? can it be down to specific pages, could we add "about-us|contact-us|login-now to get narrowed down to pages not word matches?Can you give us some general syntax examples and globals
Yep that works as well. You can get as specific as you want. Post your URLs and I can provide more examples.
I need to exclude the Wysija newsletter confirmation page from showing my coming soon page.
The Wysija page URL looks like this
I tried ?wysija-page* to add to "Exclude URL Pattern" but it's not working.
Use "wysija-page" without the quotes and that should work!
In the advanced section I am having a bit of trouble getting Coming soon to display on the right pages.
If coming up acts on all pages how can I exclude and include pages at the same time
If you look at my site www.ramigrafx.com at the moment I just want to exclude Gallery 1 and Gallery 2
So you would just put this in the exclude field:
If you still have an issue open up a ticket and I can login and take a look.
Is it possible to exclude subdomains, i.e., mail.domain.com? I tried 'mail' and it still shows.
Awesome plugin, btw.
Thanks Steve! Does your site run have more than one domain?
No, just the one. Not a multisite install.
Maybe I'm not under standing your question. I assume you have www.domain.com pointed at your site. Mail.domain.com typically points to your mail servers. If you want open a ticket with the specific details and I can take a look.
Hey, you know what, you are right - the issue was that it is a mail server and was directing to the frontpage. Don't mind me...
i have a website at www.domain.com which I need to be hidden as under construction. However, we have created a unique page that matches our theme at www.domain.com/coming-soon
how do we show the /coming-soon page as the default landing page when people get on the site?
So you want to redirect people to http://domain.com/coming-soon when they visit and have this show a coming soon page? If not sure I understand your scenario,
By default when the plugin is enabled it shows the coming soon page on the entire site.
yes that's correct. just like with the default settings, no matter what page of the site someone visits they get sent to the homepage which displays the Coming Soon default template.
i want to replicate this with a custom page we have created that matches our theme (/coming-soon) so that wherever someone visits the site, they only see the /coming-soon page. At the moment with the exclude path they have to actually go to /coming-soon to see that, otherwise the default landing page is shown.
is this even possible or is it better to try something different?
It's possible you just need to implement a redirect for user that are not logged in to goto /coming-soon. Here's snipplet on how to do this. http://madebyraygun.com/blog/2012/wordpress-snippet-redirect-all-no...
There might be a plugin out there as well that can do it.
thats excellent. thanks John.
if I implement that instead of using Coming Soon on that site, will admin's still be able to bypass the redirect and go to /wp-admin to login?
yep, that should be the case. you actually want to goto /wp-login.php
got it. legend. thanks John.
I tried the above method but it causes an error which causes the site not to show - "
do you know any plugins that I can use instead which will avoid this?
Can you open up a ticket with the details and I'll take a look.
I want to exclude:
but also the home page as below. What is the regular expression for this?
This pattern bellow represents the hime page:
So to exclude the home and about you'd do this:
...ok, this has all been very helpful...
so, I have a basic issue: how do I properly express an exclusion pattern for only exactly the desired string? as in:
(but NOT example.com/3privacy-policy OR example.com/privacy-policy76 OR example.com/privacy-policy/whatnext)
currently, I am using the following:
this works almost 100% the way I want it too... except that it only works if I fail to follow my URLs with a trailing slash... (example.com/privacy-policy VS example.com/privacy-policy/)
I have tried simply using ^\/privacy-policy$/ but that breaks the code... I don't know regular expressions, I managed to hack this this far, but haven't been able to figure how to include that trailing slash...
edit: I meant to type ^\/privacy-policy/$ instead of ^\/privacy-policy$/ in my last paragraph... aloha
That seems to work (at least I haven't been able to break it... yet)
The remaining issue is case sensitivity... Ideally, this exclusion would tolerate changes in case (example.com/privacy-policy/ AND example.com/Privacy-Policy/)
Specifically, I am thinking of 'poetic' user-generated link text...
Is it possible to tweak \/privacy-policy\/$ toward such a use?
To be clear, \/privacy-policy\/$ is doing what I needed for the trailing slash, this would be icing...
Thanks for your help, getting past this hurdle means a whole heap to us... ;-)
Add a /i to the end to make it case insensitive.
You are a RockStar! (and you made a really good product!)
Thanks for the kudos :)
Support Software by Zendesk