NuBlue-Hosting
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: My page permalinks is index.php/contact ?As far as I’m aware out of the box IIS doesn’t support .htaccess which means you won’t be able to remove the index.php from the url. A couple of possible options to remedy could be:
- Perhaps consider getting a linux shared hosting account to host wordpress (it shouldn’t cost too much and the .htaccess will work out of the box)
- Install https://www.isapirewrite.com/ on your IIS server (this allows IIS to read .htaccess). I’ve never used it but I believe this could be a solution.
- Install Apache on your Windows Server
Forum: Fixing WordPress
In reply to: My page permalinks is index.php/contact ?Is it running Apache or ISS?
Forum: Themes and Templates
In reply to: Remove admin bar from dashboard?Thanks Harrison O that is a much better way of handling it ??
Forum: Fixing WordPress
In reply to: Hacked Site – Need HelpHi GardenerPA,
It’s safe to login. If you go to https://www.rishida.net/tools/conversion/ and convert (using mixed input) the redirect:
https://stellasyard2.info/wp-login.php?redirect_to=http%3A%2F%2Fstellasyard2.info%2Fwp-admin%2F&reauth=1
it comes out as:
https://stellasyard2.info/wp-login.php?redirect_to=https://stellasyard2.info/wp-admin/&reauth=1
Which is normal for the wordpress login. As to why it’s displaying the redirect in unicode, I’m not sure, but as long as you want to login to https://stellasyard2.info its fine to do so. Hope that helps.
Forum: Themes and Templates
In reply to: Remove admin bar from dashboard?Hi Casper1,
If you find the file
./wp-includes/class-wp-admin-bar.php
Then go to line 344 and find the following code:
<div id="wpadminbar" class="<?php echo $class; ?>" role="navigation"> <div class="quicklinks"> <?php foreach ( $root->children as $group ) { $this->_render_group( $group ); } ?> </div> </div>
The above is responsible for displaying the bar. Further to this if you use the is_super_admin() function you can limit the display to only super admins. Something like:
<?php if (is_super_admin()) { /* Dashboard Code Here */ } ?>
Would show code only for the 1 super admin user (you’ll need to play with it a bit as the admin bar html code has multiple php open and close tags in it but hopefully that gives a gist of how to do it. Hope that helps :-).
Forum: Fixing WordPress
In reply to: My page permalinks is index.php/contact ?Hi Tobbs,
Please can you post the contents of your .htaccess file (from the root of your webspace) so I can see what you have?
Thanks
Forum: Themes and Templates
In reply to: Footer image..Hi KittyKat12,
Which file did you update to put the image in? Also are you able to post the code you put in to display the image?
Thanks
Forum: Fixing WordPress
In reply to: Google Search redirecting to spam pagePersonally I would also contact your host, tell them what has happened, ask when and how it happened (they should be able to tell from the server logs). Sometimes a hack can be the result of your ftp account being compromised, not your site. I would say it is important to find out exactly how they got in.
Once you know this, if they did get in through wordpress it may be very clear from the logs when the compromise happened. In that situation your host may then be able to restore a backup of the site before it happened which you can then imediately update your wordpress and plugins to close the hole (and then repost any new content which isn’t in the backup).
Forum: Installing WordPress
In reply to: wordpress on windows, is it a problem ?It should work fine on Windows, although as RichardWPG says the majority of people probably use Linux for hosting for it. Linux can often be more cost effective and gives excellent hosting performance if you go with a good host.
Forum: Fixing WordPress
In reply to: If I change theme all the wordpress pages go blankHi Jess,
A blank page can indicate some sort of php error. It is a good idea to check your hosting error logs (in the major hosting panels cpanel/plesk these should be viewable from the panel) for the time frame you switched the theme in. The error_log should give you more information about the cause of the white screen problem. If you are able to post the error_log for your site for the time frame you switched the theme. Your host may be able to provide this to you on request if you can’t access it from your hosting panel.
Hope that helps.
Forum: Fixing WordPress
In reply to: Website is slow!Hi Scotty,
A few things which are likely to help with performance:
- Ask your host to turn on Gzip Compression for your hosting (this will substantially reduce the weight of your pages) as it will compress css/js on your site. This should make a noticable difference.
- Where possible combine your JS files into a single JS file and then compress the file with a online tool like https://jscompress.com/
- For your css again try to combine your css into one css file. You may want to use https://www.sitepoint.com/dustmeselectors/ this firefox extension to remove any unused css (again if you have any). Then finally compress the single file with a tool like https://www.cssdrive.com/index.php/main/csscompressor/
- Remove any wordpress plugins/js form your page which you are not using (if there are any!)
- Install the Yslow plugin for Firefox/Chrome and run further tests on your pages to see it’s suggestions
Hope that helps ??