Forum Replies Created

Viewing 15 replies - 61 through 75 (of 81 total)
  • that should work tho <strong> is the preferred tag in html5
    <strong>...</strong>

    alt you can add it to the css
    <span style="color:#ff0000;font-weight:bold;"><?php echo date('l jS F Y'); ?></span>

    With out knowing the plugins you’ve used its hard to be definitive but In your SEO implementation, unless you or a plugin has modified your theme… any changes you’ve made should all be stored in the sites database.

    Usually the only parts of a wordpress site that are used to store information are the
    wp-content/uploads folder for files and the wp-config.php for configuration, and even then thats just the db connection settings, everything else, options and settings is all stored in the wp_options or wp_postmeta table in the database.

    the themes, plugins, and all wp files are just like software, there shouldn’t be any info or setting stored directly in them, if these a cache folder in contents its full of temporary files that will be re generated. some plugins do store information in strange placed but thats rare best practice is to use the option and metadata apis which store info in the db.

    With luck you should be able to make an exact copy of your site with fresh components, and connect it to the old db and it will be exactly the same, so long as you reinstate the wp-config.php and the uploads folder.

    As for backup the existing site, you can download the entire site by ftp which might take a while if you have a lot of files, Your web host might have backup tools you can used to do this more quickly/easily. secondly also backup you database that way you have an exact snap shot of you site as it is right now hacks and all.

    then create a new folder on you host, ie.

    /www/html/oldsite.com/
    ..
    /www/html/newsite/

    start building you new copy here off line. once your all ready you can rename oldsite to broke. and then rename newsite to the oldsite replacing it as the live version. hopefully you have a fixed site.. if not switch back, and if you need to restore the database backup as well you can get back to where you started.

    Look and sounds like javascript isn’t loading properly.

    in chrome or firefox open the admin panel and right click anywhere and select inspect element
    then select console
    and refresh the page.

    Odds are you’ll see several red lined of text. this should help you figure out which javascript file isn’t loading or is crashing and taking out all the javascript on the page.

    It could be since the update that the file permissions for a js file is incorrect so your getting 403 or 404’s or its corrupt or missing.

    It could be a plugin or your theme has changed the default version of a js library like jquery or backbone js to a version its happier with but is not compatible with WP4.0 (more common than you’d think and very bad practice)

    Your site is also sitting behind cloudflare so it could be a caching issue so you could try flushing the cache

    Hi Martijn

    It all depends on your theme specifically as to where you’d add any code, your probably find its the header.php file that generates the header part of your site but its not for sure it depend on how your themes developer structured the theme.

    The best way to figure it out it inspect the source your site generates and then look in the template files for unique references ie. a html tag with a specific class or id.

    As for a step by step google auto playing html video, video header tutorial, the coding would be wordpress specific it would just be html.

    Finally the best way is to look at other site theme that do what you want an view their source to see how their doing it, in chrome or firefox you can right click and view element with will bring you the dev tools and let you see exactly which element corresponds with what bit of html.

    Also just curious, I don’t know why”” # Options +FollowSymlinks “”is used for??

    its not its commented out ‘#’ means comment

    ‘FollowSymlinks’ is completely un related to redirects;- it tells apache whether or not to allow “follow” symbolic links which is a type of folder alias on unix file systems.

    First off, avoid adding anything between Begin wp and end wp as wordpress or any plugin might inadvertently delete any of your changes/additions

    Their basically marker so it knows where to edit the file.

    Secondly add your directives one by one that way you can figure out which one is causing the problem.

    so delete this, and the other block

    #disable hotlinking of images with forbidden or custom image option
    RewriteEngine on
    # Options +FollowSymlinks
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://mydomain.com.*$ [NC]
    RewriteRule .*\.(gif|jpg|jpeg|png|bmp)$ [NC, F, L]

    try adding this below the end wp

    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?PutYourDomainHere.com [NC]
    RewriteRule \.(jpg|jpeg|png|gif|bmp)$ - [NC,F,L]

    Replace ‘PutYourDomainHere.com’ with you actually domain name

    test your site, if its still working then the rules haven’t broke anything

    use this tool to see if you can hotlink an image

    Hay,

    I think your trying to fix the symptom rather than the cause, h1 page-title is just that the Page title if you remove it from the template you probably remove it from several places where you actually need and want it.

    The Problem is that your site isn’t configured properly so that whatever the theme is supposed to be showing on the home page is missing (probably delete) so its reverting to loading the 404 content, i.e. “Not Found” search blar blar..

    The quickest way to fix this is to add some content back to the homepage, i’m not familiar with Seller so I can’t tell you exactly what to do, but i’d start looking under the theme settings if its got any.

    If you do want to visually hide the h1 title on the homepage (only) you can add the following CSS to the bottom of your themes style.css

    body.home header.page-header {
        display:none;
    }

    but like I said this wont fix the problem just hide it. plus it still leave the

    It seems we can’t find what you’re looking for. Perhaps searching can …

    search section in the content area

    Hay,

    Are you sure your using WordPress ? that’s not standard WordPress, pages don’t have an option to ‘Upload Zip’ so if your seeing it, its as a result of a plugin.

    Now as to why Plugin X isn’t working as expected, ?!?!? you need to speak to the person who made the plugin.

    Probably not your issue, but related:
    As an aside, WordPress doesn’t allow the upload of .zip and .exe files amongst other to the media library as their considered potentially harmful file types.
    see allowed file types

    However It will accept a zip when installing a plugin or theme, and the list of allowed file types can be altered to allow more typed by a filter.

    oh.. also check the .htaccess file for obvious redirect to bitterstrawberry

    When your site was hacked .. some malicious code was added to one of the php files somewhere in your site, it could be in the core wp files, in a plugin or in the theme any files that get loaded to generate your website each time a page is loaded.

    Probably the theme, as if you did a fresh install of wordpress and deleted all the plugins you might fix the problem but your less likely to change your theme.

    Usually these hacks are use obfuscation (like encryption) to try and hide the code more and prevent you from figuring out what that line(s) of code actually do.

    something like
    `<?php eval(base64_decode(“……… gibberish, HEX or binary ………”)); ?>’

    so scanners like the two mentioned above will look in every file in you site for php functions like ‘eval’, ‘base64_decode’ etc which are commonly used to hide, obfuscate code, as these no real reason to do it unless your trying to hide what your up to.

    They should then give you a report of everything it found that it considers suspicious. You’ll then have to investigate manually.

    You can also ftp to your site and look at the date modified of the files in your theme, they should all have roughly the same date, i.e. when it was installed or updated, any file with a newer date has be tampered with or modified.

    Another option is to try a clean install, back up you site.

    make a list of all you plugins, download fresh clean copied from the wp.org, download a fresh copy of wordpress, and a fresh copy of your theme, from a reputable source…

    set up you site completely fresh, extract wordpress, put the new plugins in the plugins folder same for the theme, then copy over the old uploads folder i.e. wp-content/uploads probably wise to do a quick visual check there should only uploads in this folder imgs etc… defiantly not scripts .php etc..

    finally copy over your wp-config.php file but first scan it for anything that looks malicious, look at ‘wp-config-sample.php’ to get an idea what looks right and what look wrong.

    Hope that helps

    You need to deactivate the plugin it is clearly not compatible with something else in your site.

    Without access to the dashboard your options are limited, you can either delete or move the plugin out of the plugin folder on your web server via ftp.

    or if you have access to the database through adminer or phpmyadmin you can view the wp_options table and find the row where the option name is active_plugins then delete it or set the option_value to ”
    http://perishablepress.com/quickly-disable-or-enable-all-wordpress-plugins-via-the-database/

    that will deactivate all your plugins and should let you back into your site.

    replace
    <?php echo date('l jS F Y'); ?>
    with
    <span style="color:red"><?php echo date('l jS F Y'); ?></span>
    or
    use http://www.colorpicker.com/ to set the exact colour ‘#ff0000’
    <span style="color:#ff0000"><?php echo date('l jS F Y'); ?></span>

    Hi

    I don’t think your going to find anything that does exactly what you want, and even if you found two plugins that do half what you want your probably going to have to write an entire third plugin to make the two play well together in the way you described.

    Once your there its pretty much almost less work to write one plugin that does everything you want.

    That said you might want to look at WPMU’s Membership plugin, you might be able to configure it so you have three membership types.

    1. logged out/un registered get redirected to a custom registration/login form built in you to your theme.
    2. new registered used get set to a default membership that alway get redirected to your “form”
    3. On Completion of the form your custom code (plugin) pushes them to a new done membership type, that lets them go anywhere except the original form ?!?

    as for blocking the default wp profile, admin area etc.. these probably a plugin for that but remember that if you do block it completely that you need to build ui in your theme to allow simply things like reseting passwords, updating profile details like email etc..

    Hope its a help.

    Hi

    My bet is you’ve been hacked.

    The malicious code detects mobile devices and redirect traffic to
    http://mobile.bitterstrawberry.org/?id=422

    which in turn redirect to a porn site. πŸ™

    install a security plugin and scan your site for obscured code, something like
    https://wordpress.org/plugins/sucuri-scanner/

    paste it into :

    http://tools.maxcdn.com/procssor/
    set to pretty

    and it will de minify the css.

    Without looking at he theme it could be that the source files are there as .less or .sass and then being compiled into the single like your seeing being out put.

    Most likely via SQL injection, its a hacking technique used to execute a sql query by overloading a form post with a specially crafted query. To do this hackers need to find a form that doesn’t validate and/or escape form posts correctly.

    Ones specific version of a plugin or wp susceptible to an attack is found, a robot could be written to seek out and target sites that use that plugin and version.

    Make sure to update wordpress and all your plugins, and disable and remove any plugins that aren’t essential or being used as poorly written plugins are the most common cause of hacked sites.

Viewing 15 replies - 61 through 75 (of 81 total)