Forum Replies Created

Viewing 15 replies - 1 through 15 (of 19 total)
  • Thread Starter budykiller

    (@budykiller)

    Ok It works now. I removed the localization to create my own rewrite parameters.

    However, I got a new question. I managed to create permalinks that use my website structure.
    Let’s say we got https://www.mysite.com/our-company/careers/
    In the slug parameter of the rewrite function, there is “/our-company/careers/jobs”.
    Ok, when you click on a job, you can see the URL is fine.

    BUT, the breadcrumbs is not showing the good path. Instead, it’s written : “you are here : Home>Our-company>%the job name%” where the job name variable is the title of the job.
    So as you can see, it lacks the “/careers/” path before the job’s name.

    That is a bit frustrating as this plugin has no way to go back to the job list once you clicked on one of them. You have to go back to the global WP menu to go to the careers section.

    How to get rid of this ?
    Thank you very much.

    Thread Starter budykiller

    (@budykiller)

    As my company was in a hurry for the website, i had to go for option 1 : move of all the files in the root, and updates all databases entries.

    Anyway, here is my .htaccess from that time :

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
    
    </IfModule>
    
    # END WordPress

    Thank you Mika

    Thread Starter budykiller

    (@budykiller)

    Please, could someone use WP 3.5 beta 2 and test if when WP is installed in a subdirectory, this directory is hidden in the URL and you can still access all your blogs ?

    budykiller

    (@budykiller)

    syrinx32123 you have a wootheme template no ?
    Anyway, if you don’t maintain multiple website on your wordpress installation, you could remove the tr_translate function and simply write what you want inside this search form.
    Make it match with the Javascript so that when you click on the search form, it erase the content.

    If you want something clean, you’ll have to check that tr_translate function in “admin-functions.php” or another file and see if you have a result for “search” in that tr_translate function. It seems it translates to nothing at the end, leaving a “” field.

    budykiller

    (@budykiller)

    Looks like timbthumb hack attempts.

    What you can do is subscribe to a newsletter. Like securityfocus or bugtraq to be informed of any new vulnerabilities.

    You have maybe 10 vulnerabilities a week about CMS and plugins. This way you can trace new exploit and make changes to prevent attacks.

    budykiller

    (@budykiller)

    Mmmh, it’s more of a network problem rather than WP.

    Well, you might be using proxy inside your school. Your website could be cached and as a result, you only see the old version.

    As for the DNS, if both website are using the same hosting server, at the same address, then it’s not the source of the problem.

    Ask your Sys admin to force proxy update if you have one.

    budykiller

    (@budykiller)

    Looks like something goes wrong in the upload :
    https://www.jeffjoseph.com/wp-content/uploads/2012/11/3dheader.jpg

    This is the address for your header picture. 404 error when we try to access it.

    budykiller

    (@budykiller)

    Let’s say your menu is like this :
    – HOME
    – GYM
    . Our center
    – LOSE WEIGHT
    . Food
    . Tips
    – BEAUTY
    . Make up

    You have your static page, named “Massage”.
    Just go back to your menu, select this static page (massage), and click on “ADD”.
    This will add the “massage” page to your menu. Now, just drag & drop it to go under “GYM”.

    You’ll have :
    – HOME
    – GYM
    . Our center
    . Massage
    – LOSE WEIGHT
    . Food
    . Tips
    – BEAUTY
    . Make up

    Just do this process again and add massage to LOSE WEIGHT and BEAUTY.

    At the end, your menu will link to the “massage” page multiple time.

    The only drawback :
    – on a sitemap page, “massage” will only appear under the parent you mentioned.
    – if you have breadcrumb, a user could click on “massage” from the BEAUTY menu. But it the parent is “GYM”, breadcrumb could show “HOME -> GYM -> Massage”.

    budykiller

    (@budykiller)

    I would try something like :

    #access ul li ul.children {
            padding-left: 30px;
    }

    My code is probably wrong as i usually try and check and i can’t do this on your site.

    But you have a dedicated class name “children” for the submenu categories. Just find the way to modify the left padding or any other trick to center your text.

    budykiller

    (@budykiller)

    WordPress doesn’t allow native source code pasting if i’m right.

    You should look for a dedicated plugin to do so. This way you will have a specific shortcode to add to your page.

    budykiller

    (@budykiller)

    Double check your shortcode. It should reflects the ID, Name, or number of your gallery.
    If you have [ngengalery ID=3] from your old site, but now your gallery has the ID 1, it won’t be able to load anything.

    budykiller

    (@budykiller)

    Copy paste the code here please. I’ve done this myself, you gotta check javascript too because it will lead to a blank input field.

    budykiller

    (@budykiller)

    Could be a possibility, i don’t know. For the moment there’s nothing else i can think about.

    If you haven’t do any changes on your website, and it starts to do funky stuff, it could be :
    – hosting server encounter problems
    – database not available (error from the hosting server)
    – hacking
    – ??

    Your website seems to be fine but no more categories work. Maybe someone hack index.php file that loads everything, or tried some SQL injection which could cause strange stuff.

    budykiller

    (@budykiller)

    Do what mohdrafie tells you.
    Also, before re-uploading it, check that the file has been save with “ANSI” encoding.

    Same thing for the options.php mentioned. Download it, open it, and save it back again as “ANSI” file encoding.

    Sometimes, zoulou encoding like UTF-8 for frenchy brokes PHP code.

    budykiller

    (@budykiller)

    Did you check in the widget area for “Footer” ? You may have something here.

    Please also give us more details (theme, address if you can..)

Viewing 15 replies - 1 through 15 (of 19 total)