-
-
-
htaccess help needed
Hey, Thanks works a charm +1 to both of yous Just one thing though, When i go to www.website.co.uk/blog via a link it puts http://www.website.co.uk/blog/?page=blog&article= But if i type it direct into the address bar it says as just /blog Any ideas why that is? Gary
-
htaccess help needed
Thats it haha, Now when i go to blog without the article variable set it makes the url go like http://www.website.co.uk/blog/?page=blog instead of just /blog/ I can do it so that will work, but then /blog/10 wont when i actually want to go to an individual article
-
htaccess help needed
Thanks, that sorted that problem, only problem now is that it doesnt let me put just the url like www.example.co.uk, It puts www.example.co.uk/var/www/vhosts/ and so on Ive tried a few things but cant manage to get it working
-
htaccess help needed
Hello, currently trying to modify the URL so that instead of www.website.co.uk/?page=about i can use www.website.co.uk/about the following works, i can type www.website.co.uk/about it takes me to the correct page etc but the URL changes to www.website.co.uk/?page=about but i want to stay like www.website.co.uk/about Options +FollowSymLinks RewriteEngine On RewriteCond %{HTTP_HOST} !^(www\.website\.co.uk)?$ RewriteRule ^(.*)$ http://www.website.co.uk/$1 [R=301,L] RewriteRule ^([a-z]+)$ http://www.website.co.uk/?page=$1 [NC] RewriteRule ^blog/([0-9]+)$ http://www.website.co.uk/?page=blog&article=$1 [NC] Any help would be great
-
no errors ever shown?
Hello, Im never getting error messages shown, for example if i dont close bracket it doesnt say error or what the error is it just doesnt run the script any further, I have tried error_reporting(E_ALL); at the top of the php file and it still doesnt show errors Any ideas why errors may not be being shown? Thanks
-
looking for a hoster?
Hello, Not a clue where this should go so please move to appropriate place if you see necessary mods Anyway, Im looking for cheap standard hosting for websites that dont require it, just looking for a service that provides just the basics, php 5.2.4 min preferably and mysql database at a good price basically, So if you are a hoster or know a cheap one please PM me or post here Many Thanks, Gary
-
Woocommerce automatically add new product to customers cart
Hello, When I create a new product on woocommerce (plugin for wordpress), I need it to automatically go into a customers cart. Does anyone have a clue how to do this? Ive looked in all the admin files to try and see where the add product coding is but cannot find it Thanks, Gary
-
Wordpress payment page help needed
Hello, I dont really use CMS much, anywayy I have installed woo commerce as a plugin to the wordpress site, Basically what i need to do is create a payment page where we can set the amount a customer has to pay or so they can input how much they have to send themselves (whichever easiest), they aren't paying for a product or anything they're basically just paying a bill as such Whats the best way to do this? I've thought of everything but nothing practicable, is there another plugin which does this Any help will be appreciated +1 Thanks, Gary
-
Pound sign problems
This didnt work either (n) Its only when the £ is displayed in a text field it will put the A before it, if i submit £ then i just upload the page (where it uploads the inputted data) it will show the £ as usual its just the text field where the problem is I looked on PHP info without even thinking before and looked at the default charset and it is default_charset no value no value Does this NEED changing? lower down on php info under http headers info it tells me Content-Type text/html; charset=UTF-8 Thanks, Gary
-
HTACCESS help needed again
Basically just so it cleans up the end of the url so its not like ?page=suchandsuch so it always shows just www.example.co.uk Not sure if that explains it very well,
- HTACCESS help needed again
-
Pound sign problems
It works no problem if i send to database as £ and display as £ on website therefore displaying the actual £ sign but its trying to get the text field to display as £ which is does put it puts the funny A before it Ive tried that too haha
-
HTACCESS help needed again
Hello, As you may have guessed by now my htaccess skills suck, This is probably the most basic htaccess stuff aswel lol I need to shorten url from www.example.co.uk/?page=$1 to www.example.co.uk Ive tried quite a few things, even things that said they work but no look, im on apache Cheers, Gary
-
Pound sign problems
Not for display, to put in the database, so when £ is submitted it will send £ to be stored in the database rather than £, it was only something i tried..
-
Pound sign problems
database collation is in utf8_general_ci, tried in utf8_unicode aswel the collation of the field holding the data is also set as utf8_general_ci (as default) Already tried