Forum Replies Created

Viewing 15 replies - 136 through 150 (of 178 total)
  • @hiwebco
    Be more specific. What is your desired redirection scheme? What do you want to redirect from to where?

    From your description it is not clear if you want to redirect those posts from your domain to another or inside your domain?

    Assuming most common scenario, when migrating site to another script or addressing pattern, your domain stays the same. Only post names change. If change is consistent, it is not difficult to do.

    i.e. if you want to redirect

    /old-post-10.html to /new-post-10.html
    /old-post-11.html to /new-post-11.html
    /old-post-11.html to /new-post-12.html
    /old-post-….html to /new-post-….html

    where the only thing changing is post name. You can do this placing this in .htaccess

    RewriteCond %{REQUEST_URI} ^/old-post-.*$
    RewriteRule /old-post-(.*) /new-post$1 [L,R=301,NC]

    This mostly happens when you change your category name i.e from New to Announcements. Then

    RewriteCond %{REQUEST_URI} ^/category/news/.*$
    RewriteRule /category/news/(.*) /category.announcements/$1 [L,R=301,NC]

    does the job.

    Hope it helps. If you need more help, be more specific in description.

    Thread Starter Tom

    (@atomiktd)

    Forget this question ??

    Sorry, I haven’t noticed. List shows up after adding URL. I’ve mistaken it with 404 list. They both look similar.

    @webitman
    You sound great and I can see what you can either.. nobody really knows where the problem is rooted. For me it was memory limit.. or maybe something I do not realize? Difference in memory limit is obvious but maybe there are any other differences in settings.. who knows? I am on shared hosting so I have no idea what happens inside ??

    @heartofkronos
    What plugin have you used? If you are on shared hosting, it is very unlikely you can modify PHP memory_limit. It is out of your rich in php.ini file you cannot touch at all. Additionally in most cases, all the server setup prevents you from changing PHP settings via .htaccess as well.
    I am very curious abut that plugin. It would make my life easier on shared hosting. Let me know please.

    @alain
    Your fix works good. Thank you.

    I had this issue after I moved whole site to another server.
    Both differ in PHP version. Old one runs PHP 5.3.27 and new one 5.4.24. Maybe this is a source of problems?
    Recently I have a lot off new issues of this kind when upgrading PHP on my sites.

    BTW Thank you Chuby for this great plugin ??

    As far as I am aware it doesn’t matter if you are an administrator of your website or even entire server. What matters is on what user (and its privileges) your Apache server and PHP run.

    Thanks Dion,
    No errors. No warnings.
    It looks like it is working now!

    Thread Starter Tom

    (@atomiktd)

    Sorry Dion, as it’s been long time to wait, I switched over to another plugin for this purpose ??

    It looks like there is something wrong (inconsistient) with keyword parsing scheme.

    As many users noticed not only in this thread, there is difference between KW count among tabs. Recently I’ve noticed, that KW counting is strange for page title.

    I’ve got two different messages:

    1. The keyword / phrase ?wiczenia tai chi does not appear in the page title.

    2. ‘The page title contains keyword / phrase, at the beginning which is considered to improve rankings.’

    The only difference is capital letter at the beginning of KW phrase.

    1. ?wiczenia tai chi

    2. ?wiczenia tai chi

    In fact, page title starts with ?wiczenia Tai Chi. I believe it is language specific problem because the very first letter is specific to polish language. Probably there is a problem with translating it from upper to lower case.

    It is not a major issue. However it would be nice to see all green dots on Page Analysis tab ??

    In my understanding, it is not a matter of limit you have set but the “space left”.

    In my case, where I have 96MB available and 63MB used, 33MB left is not enough to handle NGG. With the same installation copied over to another server with 256MB available, there is no issue at all.

    @renoirb
    Thank you for short tutorial ??
    I think I was able to identify all 2 places where I had to add “public static” in front of proper functions. Lines were different but it helped globally. I do not have errors appearing on frontend and there is still one place failing. When I go to Settings -> Revision Control I get:

    Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method Plugin_Revision_Control_UI::admin_page() should not be called statically in /home/.../public_html/wp-includes/plugin.php on line 496

    Maybe it is negligible but I ask just in case.

    I don’t think you can do it with this plugin because it assumes all your urls are at the same domain.

    The easiest way is to do it via .htaccess

    RewriteEngine On
    RewriteRule (.*) https://www.newsite.com/$1 [R=301,L]

    assuming all your slugs are the same.

    Your site behaves strange way. I’m not expert in Worpress but 404 error should be handled different way. Result page should look like regular WP page but with 404 error info inside. Try it on my site Tai Chi Poznan and put anything as a slug.
    Your 404 error looks like regular message which should be intercepted by last 3 directives in .htaccess

    I had similar issues with 403 and 410 redirects and placing one line helped. Try to insert:

    ErrorDocument 404 default

    into .htaccess, preferably before RewriteEngine On directive.

    Hope it helps. Write back if it does please ??

    @himitsu
    I don’t think it is like your example..

    @robin_dean
    I would try:

    if you want your content and anything before and after
    .*/the-slug-for-my-page/.*

    if you want your content and anything after only
    ^/some-category/the-slug-for-my-page/.*

    if you want your content last and anything before
    ^.*/the-slug-for-my-page/$

    if you want your content exactly
    ^/some-category/the-slug-for-my-page/$

    It works on my site at least ??

    Thread Starter Tom

    (@atomiktd)

    bump ??

    410 redirect would be very useful.

    Now I use .htaccess for this purpose but it means, that my server has to process all url’s every time it touches any file even not related to my gone url. In practice it means parsing huge .htaccess file maybe 30 or 80 times each time user opens webpage.

    With Redirection, only when 404 error occurs, checking is needed. I believe it reduces server load and response time because calls to invalid urls happen once a day or less.

    So ones again – Is it possible to expand Redirection feature list and include 410 (Gone) response code?

    First check Regex box on the right.
    Then in Source URL field put:

    ^/recepts.asp\?cid=.+

    That’s it!
    It will search for /recepts.asp?cid= with 1 or more numbers following it.

    Of course you have to fill Target URL field out as well ??

Viewing 15 replies - 136 through 150 (of 178 total)