Everything posted by BlueSky
-
php include inside html.file + extensions question
Thank you for answering back :-) Shall I consider this as the final and best bet ? Cheers,
-
php include inside html.file + extensions question
Sorry, just saw your reply :-( But what about changing the extension + 301 Redirect + Rewriting the .php url to html for SEO? Should work, no ?
-
php include inside html.file + extensions question
Well well well... I am grateful for all these replies Thank you !!! After reading , I see that some of you say that my method could work, but some others say that it's old fashioned or might not work..or that it is some kind of Robinson trick. That makes a lot, but all these replies are very useful...I see that my idea is not very straight forward, and I don't like this. SO: I'll go to the best/most optimum/ newest way which seems to be : to change all my .html files to .php I am just afraid for my SEO / SERP Does the 301 Redirect not gonna hurt in this case?
-
php include inside html.file + extensions question
Hi. First my apologies...I am not very comfortable with Php yet. 1st/ As your code shows , it concerns 1 page ? As said earlier, I have 20 pages. There must be a misunderstanding. 2nd/ Indeed, I was thinking about going only to Php extensions...but the SEO problem stopped me to do so. I am reading all answers with interest and try to make my way...
-
php include inside html.file + extensions question
Hello. Could you be more explicit with "heath robinson" trick ? / I am french and have a limited understanding in English sometimes I can't ?? But I saw many things about this...
-
php include inside html.file + extensions question
The title of ths topic was hard to find... Several problems, several questions but 1 Goal: I have 20 pages and some updates are hard to follow as my site grows ( ie : menu). So, I extracted my menu and put it into another file and saved it apart as topnav.html in folder "includes" To call now my menu into all my .html files I inserted the following : <div id="header"> <?php include('includes/topnav.html'); ?> </div> To be able to parse the php include I input the following in my htaccess file which look like that now ( note : my site runs with Apache CGI / Php5 RewriteEngine on RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.html\ HTTP/ RewriteRule ^index\.html$ http://mysite.com/ [R=301,L] AddHandler application/x-httpd-php .htm .html #THIS IS THE CODE I FOUND EVERYWHERE ON THE WEB TO ALLOW MY PHP TO BE PARSED. # Error Pages ErrorDocument 404 /index.html #Other rules blahblah... So far no luck. If I try to change my extension to .php it works, but I do not want to do so, as it will hurt my SEO. What do i do wrong ? I've previously asked to my provider and he told me to use the addHandler instead of addType directive. On the other hand, I also found in my researches on the web, that taking out all file extension is the best right now. so that files look like www.mysite.com/the-story instead of www.site.com/the-story.html To sum-up: How can I use php include in all my html files and remove all file extensions and how ? I hope my question(s) won't be too messy ... THANK you very much. I have spent 2 days on this. I am stumped.
-
import my blog feed to my website
Yes, I know, but I wish to keep my website as it is. Very happy, much more flexible and controlable for me...
-
import my blog feed to my website
Hi ! Tx for passing by... I run a WP blog. My website is on pure HTML/CSS site, if this is what you mean ...
-
import my blog feed to my website
Hello, I run a blog hosted on my domain root. I would like to implement a small window on my main website with the latest posts inside. This has to do with the feed XML, but wher do I start ? Any tutorial ? Or advice ? Thank you for your precious help, Cheers
-
How can i achieve this weather forecast design ?
BOMB !!! Exactly what I was looking for !!!! Fantastic :-) Thank you so much Cheers,
-
How can i achieve this weather forecast design ?
Hello and happy new Year 2011 ! I am googling and googling to find an explanation or tutorial to customize a weather live and forecast for a website. I selected 2 examples to show you what i like. But I cannot figure out where to start... I looked into the sources and inspected elements but I cannot see any useful info. Thank you for your ideas and eventually link to a good tutorial...Whatever that could help this very ( complicated for me ) simple problem.
-
shipping cost per country. Totally lost
Thank you both of you Unfortunately I can not change host...I recently hosted my site with them Any alternative ?
-
Is there a "best" software or solution to deal efficently with paypal ?
Thank you... What do you mean by IPN ? Could you be more precise...Because, sending he datas to Paypal is actually my problem. The point is not the variables on the type of items but the update of the basket that needs to be done inside my siite before going to Paypal... The all process done here, is exactly what I need. I start to wonder if I should ask and pay the job !! Somebody ...may'be ??
-
Which 3rd party could achieve this payment
Hi What do you mean ?? The Credit Card ? Sorry for misunderstanding, but I was meaning the basket update with variables destinations...
-
link links from my subdirectory blog to site root -problem with URL
My blog is in a subdirectory www.mysite.com/blog My blog has a hardcoded menu to maintain the navigation on the all site. Viewers navigate inside the blog and can access the main site ( site home, about, editions etc...) from the menu. Today I see that Google shows Crawl Error for urls from my blog to my site root pages. Example of my hardcoded menu function add_menu() { { ?> <div id="menu"> <ul id="cent"> <li><a href="../../../../index.html">Home</a></li> <li><a href="../../../../editions.html">editions</a></li> <li><a href="../../../../about.html">about</a></li> </ul> </div> <?php } } add_action....etc... The URl problem comes out when pages are linked deeper into the blog i.e : /category/tag... I am very new to this... I feel there is a mistake in my code... What should I do ? More generally, how do I write urls that link back to the root of my site ? Thank you,
-
shipping cost per country. Totally lost
I am looking through many ecommerce solutions but none of them seem to give me what I need. I need to be able to add to my rates shipping costs per country. The user choose a product and the total price changes according to his country shipping rates. Where do I have to start ? What is the solution to achieve this ? Can I do this with a WP ecommerce ? Any other idea ? I tried Zen CArt, but the interface is very complicated and I find it not desgner friendly too. I can not install Magento as my server/panel does not allow it. I am lost , I google for several days and so far, NOTHING. Thank you ,
-
Which 3rd party could achieve this payment
In order to have a clearer vision of what I need to achieve, here is a link to a perfect checkout shopping cart. Many variables involved. I just have about 15 items. Which 3rd party would be the best ? Attn: payment with PAypal. https://www.lucyart.co.uk/mycart.php/update
-
Is there a "best" software or solution to deal efficently with paypal ?
Youhou !! It loks that my problem is unsolvable...??
-
Is there a "best" software or solution to deal efficently with paypal ?
I deleted my message..I realised it was not gonna help me.(too vague ) So here my question again... I read many threads about best e-business solution but I can not figure out (magento, Os, Zen Cart, X cart etc...) if they are adapted to my needs that are not that huge : Shopping cart for 15/20 items maximum. Each item comes in 2 or 3 variety Each item > variety comes into 5/6 sizes And finally the bug for me : each item is shipped internationally from Europe. So price needs to change in shopping cart when the customer choose his country. As products will come out in various sizes ( there are actually canvas print ) I'll obviously will have many different postage prices as variables are multiples I need Paypal for payment module ( I work with them already with 1 item right now ...so far so good ). I checked with the paypal shopping cart, but apart from the terrible interface the "add to cart " feature sends the customer to Paypal site each time he buys something and returns to my site if he wishes to continue shopping...which I do not want. I want a feature that ease my multiple variables as per above, that has a add to cart and view cart with then a chekout sending the customer to Paypal once he made all his shopping. THE QUESTION : Do I absolutey need a 3rd part to do the job ? like magento, Os, Zen Cart, X cart etc...- which by the way have expensive add-ons. Or can I manage my needs only Paypal shopping cart ? Or what would you advice ? Thank you, Cheers,
-
Multiple sitemaps . 1 in root + in subdirectories ?
Thank you for passing by I really wish to keep a sitemap... Ideally I would like to keep one sitemap. But the point is to keep it updated each time I post on the blog. The sitemap plugin is automatic on this matter, but my main site is a pure Html site with naturally no plugin.
-
Multiple sitemaps . 1 in root + in subdirectories ?
Hello community ! Just a question : I have two blogs installed on my root , each is a subdirectory.. Do I have to generate a sitemap for the main website + 1 for each directory like http://www.mysite.com/sitemap.xml http://www.mysite.com/my-blog-1/sitemap.xml http://www.mysite.com/my-blog-2/sitemap.xml Google sitemap generator is installed on each blog in order to be automatically generated when I post. Thank you !
-
Problem with Php version (4.4.7) and WordPress v3.0
YES. It does say a lot I had a feeling....and got it right.But I just stepped in the dark side of the servers, and my way is full of wonderings and doubts. Btw, I just emailed them and they updated to the latest...but so many things are like that...the IIRF for example ( an old version of 2008 - not anymore suported- is also widely installed on their server -) I also wonder why I do not have IIS7 ... I will not name them here, but so far everything felt apart when I started to digg into it. I give up on it. Weeks that I am battling now. Time lost. This shared hosting was actually resold by my local host provider. So...Who's fault is it ?
-
Problem with Php version (4.4.7) and WordPress v3.0
Hum...I see. Something else, as I see that you know what you're speaking about... ;-) Would you say that my server installation is unacceptable ?
-
Problem with Php version (4.4.7) and WordPress v3.0
yes I know that already. But I am trying to do with what I have for now.
-
Problem with Php version (4.4.7) and WordPress v3.0
I am constantly bumping into problems lately, since I am trying to run properly my blog. This work brought me to check more carefully my server installation . And here is what I found : I am on a IIS6 Server With Php version 4.4.7 And a IIRF version 1.2.15 I would like to know if this Php version and all server installation are really optimum ? Could it be that my webhost is selling me a prehistorical service ?? Or is it just a normal thinng in 2010 ? Second if this configuration could compromise anything, in matter of security and performances of course. I do not know a lot, but I know that itt looks very outdated ... Thank you,